[Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0

2024-05-28 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31795 --- Comment #63 from Adhemerval Zanella --- (In reply to mintsuki from comment #61) > > Actually I don't think that may be possible, at least not by checking the > OS/ABI field alone, given on my Linux host it seems to be a generic UNIX - >

[Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0

2024-05-28 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31795 --- Comment #60 from Adhemerval Zanella --- (In reply to mintsuki from comment #59) > (In reply to Adhemerval Zanella from comment #58) > > (In reply to mintsuki from comment #41) > > So maybe we either enable this iff targeting Linux, or ch

[Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0

2024-05-28 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31795 --- Comment #58 from Adhemerval Zanella --- (In reply to mintsuki from comment #41) > (In reply to Adhemerval Zanella from comment #39) > > (In reply to Fangrui Song from comment #37) > > > I agree with mintsuki . The "-pie -Ttext-segment=non

[Bug ld/31795] ld.bfd makes ELFs of type ET_EXEC for static PIEs when load address is non-0

2024-05-28 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31795 Adhemerval Zanella changed: What|Removed |Added CC||adhemerval.zanella at linaro dot

[Bug ld/26065] aarch64: binutils-gdb/ld/testsuite/ld-elf symbolic tests dl4e and dl4f fail

2020-06-05 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=26065 Adhemerval Zanella changed: What|Removed |Added CC||adhemerval.zanella at linaro dot

[Bug ld/21524] Assert on ld.bfd with -r and --gc-sections

2017-06-12 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21524 --- Comment #4 from Adhemerval Zanella --- Created attachment 10094 --> https://sourceware.org/bugzilla/attachment.cgi?id=10094&action=edit Bug reproducer To reproduce it issue: $ tar xf bz21524.tar.bz2 $ ld.bfd -i --gc-sections -u_start

[Bug ld/21524] Assert on ld.bfd with -r and --gc-sections

2017-06-12 Thread adhemerval.zanella at linaro dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=21524 --- Comment #2 from Adhemerval Zanella --- Yes, I tested with master when I opened the bug report and I just rested with master: ld-new: BFD (GNU Binutils) 2.28.51.20170612 assertion fail ../../binutils-gdb/bfd/elflink.c:8598 -- You are re

[Bug ld/21524] New: Assert on ld.bfd with -r and --gc-sections

2017-05-25 Thread adhemerval.zanella at linaro dot org
Assignee: unassigned at sourceware dot org Reporter: adhemerval.zanella at linaro dot org Target Milestone: --- This is a mirror of an issue against our toolchain for aarch64 [1]. The error is easily recreated with these steps (check prerequisites at https://github.com/OP-TEE