This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 Tue 11 Mar 2014 15:29:33 Roland McGrath wrote: > My motivation for this change is my NaCl port, where the old code's > assumption about ELF file layout does not hold. But in fact this is > not only cleaner but results in marginally better code. (To compensate > I've added a couple of asserts. ;-) > > Tested on x86_64-linux-gnu: > * with binutils-2.22 that the configure check fails and nothing changes > * with binutils trunk (2.23 or 2.24 would do as well) that the configure > check passes and the new code works (no 'make check' regressions) > > I'll commit this in a few days absent objections. this breaks on ia64 w/binutils-2.23.2. using gcc-4.7.3 in case it matters. $ ../configure --prefix=/usr $ make -j4 $ echo 'main(){puts("HI");}' | gcc -x c - -o a.out $ ./elf/ld.so --library-path $PWD ./a.out ./a.out: symbol lookup error: ./elf/ld.so: undefined symbol: __ehdr_start -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |