Re: [PATCH][AArch64] elf toolchain does not pass -shared linker option

2015-08-05 Thread Christophe Lyon
On 24 July 2015 at 18:18, Szabolcs Nagy wrote: > On 24/07/15 14:20, Marcus Shawcroft wrote: >> On 22 July 2015 at 18:22, Szabolcs Nagy wrote: >> >>> 2015-07-22 Szabolcs Nagy >>> >>> * config/aarch64/aarch64-elf-raw.h (LINK_SPEC): Handle -h, -static, >>> -shared, -symbolic, -rdy

Re: [PATCH][AArch64] elf toolchain does not pass -shared linker option

2015-07-24 Thread Szabolcs Nagy
On 24/07/15 14:20, Marcus Shawcroft wrote: > On 22 July 2015 at 18:22, Szabolcs Nagy wrote: > >> 2015-07-22 Szabolcs Nagy >> >> * config/aarch64/aarch64-elf-raw.h (LINK_SPEC): Handle -h, -static, >> -shared, -symbolic, -rdynamic. > > OK, this should be back ported to 5 and 4.9

Re: [PATCH][AArch64] elf toolchain does not pass -shared linker option

2015-07-24 Thread Marcus Shawcroft
On 22 July 2015 at 18:22, Szabolcs Nagy wrote: > 2015-07-22 Szabolcs Nagy > > * config/aarch64/aarch64-elf-raw.h (LINK_SPEC): Handle -h, -static, > -shared, -symbolic, -rdynamic. OK, this should be back ported to 5 and 4.9 aswell. Thanks /Marcus

[PATCH][AArch64] elf toolchain does not pass -shared linker option

2015-07-22 Thread Szabolcs Nagy
Valid linker options should be treated for elf consistently with the linux-gnu target. I'm not sure about the undocumented -h option (blindly copied LINUX_TARGET_LINK_SPEC from aarch64-linux without the dynamic-linker flag). (Not passing -shared can cause broken vdso.so in the linux kernel when i