This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
On 2015-12-01, at 7:15 PM, John David Anglin wrote: > The attached change fixes a startup issue of emacs24 on Debian hppa-linux. The emacs24 build does some tricky > stuff to preinitialize values, so that standard static initialization check is skipped. However, the global offset table has > moved in the final executable and emacs24 crashes. Actually, this didn't work any better than the original code. The only check that would work is checking that the dynamic linker routine _dl_fixup is still in the same location. This essentially requires the full plabel computation. So, this version removes the attempt at just initializing the call to _dl_fixup once. Tested on hppa-unknown-linux-gnu with no observed testsuite regressions. Committed to trunk, gcc-5 and 4.9. Dave -- John David Anglin dave.anglin@bell.net
Attachment:
fptr.c.d.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |