This is the mail archive of the binutils@sourceware.org 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]

Re: Don't add DT_DEBUG to MIPS shared libraries



best to just be consistent with other targets.  This patch therefore
removes DT_DEBUG tags from shared libraries and makes sure that the
PIEs do indeed get DT_DEBUG and DT_MIPS_RLD_MAP tags.

It seems this patch broke PIE startup on linux-mips. bfd/elfxx-mips.c code creates DT_MIPS_RLD_MAP entry for pie but doesn't set its value (leave it equal to 0). On pie startup, dynamic linker tries to save debug structure address to the place pointed by DT_MIPS_RLD_MAP tag value. So now it doesn't work even if pie load address is equal to its link address. Maybe I miss something or my configuration is wrong? I use glibc-2.3.6 and binutils-2.17.50.0.12.

Sergey Rogozhkin


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