13 Apr 2003 00:10
-current MIPS ld.elf_so fix/workaround
Rafal Boni <rafal <at> attbi.com>
2003-04-12 22:10:55 GMT
2003-04-12 22:10:55 GMT
Folks: I haven't had a chance to figure out if this is quite the right thing or not -- at least from the POV of the specified behaviour, but the following small patch makes my ld.elf_so behave correctly in the face of the application overriding symbols from shared libs, as is done in at least the following places: * perl (used during build, the broken ld.elf_so caused the perl build to fall over). * bash/tcsh (both define their own free/malloc -- with the -current ld.elf_so, parts of the app use the app-defined malloc/free while other parts use the libc free). I'll try and figure out what the right things from a spec POV are soon, but at least this gets me up and running (which is the key things for me now(Continue reading)again. This addresses a bunch of PR's in GNATS as well, so if someone wants to pick this up ASAP, verify that this is indeed correct, check it in and close those PR's, I won't complain... I will try and get to all that, but probably not in the next week or ten days... BTW, this is on a system post-binutils-2.13.2.1 update and with the stock 2.59.3 gcc. --rafal Index: arch/mips/mips_reloc.c =================================================================== RCS file: /cvsroot/src/libexec/ld.elf_so/arch/mips/mips_reloc.c,v
again.
This addresses a bunch of PR's in GNATS as well, so if someone
wants to pick this up ASAP, verify that this is indeed correct,
check it in and close those PR's, I won't complain... I will try
and get to all that, but probably not in the next week or ten
days...
BTW, this is on a system post-binutils-2.13.2.1 update and with
the stock 2.59.3 gcc.
--rafal
Index: arch/mips/mips_reloc.c
===================================================================
RCS file: /cvsroot/src/libexec/ld.elf_so/arch/mips/mips_reloc.c,v
RSS Feed