This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PR ld/975: [Regression]: ld -pie generates DT_TEXTREL


This is caused by not defining array bonds in elf.sc. The problem
is when bfd_elf_size_dynamic_sections is called by
gld${EMULATION_NAME}_before_allocation. Those symbols are undefined.
As the result, bfd_elf_size_dynamic_sections will allocate
dynamic relocations for them, which leads to extra R_X86_64_NONE and
DT_TEXTREL on x86-64. On ia64, we got some R_IA64_REL64LSB instead of
R_IA64_NONE.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]