Re: MIPS -mplt option in N32 abi system

2008-12-01 Thread Zhang Le
On 11:02 Mon 01 Dec , David Daney wrote: > Zhang Le wrote: >> On 10:33 Mon 01 Dec , David Daney wrote: >>> Zhang Le wrote: BASE_DRIVER_SELF_SPECS \ +LINUX_DRIVER_SELF_SPECS \ " %{!EB:%{!EL:%(endian_spec)}}" \ " %{!mabi=*: -mabi=n32}" >>> You are missing a comma there bet

Re: MIPS -mplt option in N32 abi system

2008-12-01 Thread David Daney
Zhang Le wrote: On 10:33 Mon 01 Dec , David Daney wrote: Zhang Le wrote: BASE_DRIVER_SELF_SPECS \ +LINUX_DRIVER_SELF_SPECS \ " %{!EB:%{!EL:%(endian_spec)}}" \ " %{!mabi=*: -mabi=n32}" You are missing a comma there between BASE_DRIVER_SELF_SPECS and LINUX_DRIVER_SELF_SPECS. Without the comm

Re: MIPS -mplt option in N32 abi system

2008-12-01 Thread Zhang Le
On 10:33 Mon 01 Dec , David Daney wrote: > Zhang Le wrote: >> BASE_DRIVER_SELF_SPECS \ >> +LINUX_DRIVER_SELF_SPECS \ >> " %{!EB:%{!EL:%(endian_spec)}}" \ >> " %{!mabi=*: -mabi=n32}" > > You are missing a comma there between BASE_DRIVER_SELF_SPECS and > LINUX_DRIVER_SELF_SPECS. Without the comma

Re: MIPS -mplt option in N32 abi system

2008-12-01 Thread David Daney
Zhang Le wrote: Hi there, I have just tried gcc 4.4 svn trunk on a MIPS N32 system. But I found -mplt is practically not usable, because -mno-shared is not used when generating non-PIC code. I dug into the code and found the cause is in gcc/config/mips/linux64.h. Unlike linux.h under the same d