History log of /src/usr.bin/ldd/ldd_elfxx.c |
Revision | | Date | Author | Comments |
1.8 |
| 22-Jul-2021 |
christos | rtld expects an absolute path in execname provided via AUXV in order to handle $ORIGIN properly and checks for that. Since we are calling its guts directly, provide one.
|
1.7 |
| 10-Jan-2017 |
christos | need <sys/stat.h>
|
1.6 |
| 08-Jul-2012 |
matt | branches: 1.6.14; Make sure stuff using Obj_Entry is compiled correctly for ELF32 or ELF64.
|
1.5 |
| 30-Jun-2011 |
wiz | branches: 1.5.2; dependant -> dependent
|
1.4 |
| 07-Sep-2009 |
dholland | Sprinkle a little const. no object diffs
|
1.3 |
| 20-Aug-2009 |
he | Don't include <a.out.h> unless it's needed, and don't build the aout subdir if on mips. Fixes build for mips ports.
|
1.2 |
| 03-Feb-2009 |
mrg | rework the main loop and handlers: - open() and close() the file in the main loop - pass the fd down into the handlers - use _rtld_error() in ELFNAME(ldd)
this fixes PR#40543 and also makes error messages look better.
|
1.1 |
| 06-Jan-2009 |
mrg | branches: 1.1.2; - get rid of building an a.out-happy ldd (but keep supporting a.out binaries for the ELF version.)
- convert a.out, elf32 and elf64 support into convience libraries and link them right ones in. if elf_ldd() fails on 64 bit platforms, try elf32_ldd() before aout_ldd().
now ldd on 64 bit platforms works for 32 bit binaries, aka PR#40199, and it seems that all the issues from README are gone too.
|
1.1.2.3 |
| 25-Feb-2009 |
snj | branches: 1.1.2.3.4; Pull up following revision(s) (requested by mrg in ticket #483): usr.bin/ldd/ldd.c: revision 1.5 usr.bin/ldd/ldd.h: revision 1.2 usr.bin/ldd/ldd_aout.c: revision 1.3 usr.bin/ldd/ldd_elfxx.c: revision 1.2 rework the main loop and handlers: - - open() and close() the file in the main loop - - pass the fd down into the handlers - - use _rtld_error() in ELFNAME(ldd) this fixes PR#40543 and also makes error messages look better.
|
1.1.2.2 |
| 16-Jan-2009 |
bouyer | Pull up following revision(s) (requested by mrg in ticket #265): libexec/ld.elf_so/headers.c: revision 1.27 rescue/list: revision 1.35 libexec/ld.elf_so/arch/sparc/Makefile.ld32: revision 1.1 usr.bin/ldd/Makefile.elf: revision 1.1 usr.bin/ldd/Makefile.elf: revision 1.2 usr.bin/ldd/ldd_aout/ldd.c: file removal usr.bin/ldd/Makefile.elf: revision 1.3 libexec/ld.elf_so/arch/sparc/Makefile.inc: revision 1.12 usr.bin/ldd/dummy.c: revision 1.1 gnu/usr.bin/binutils/ld/Makefile: revision 1.28 usr.bin/ldd/elf32/Makefile: revision 1.1 usr.bin/ldd/elf32/Makefile: revision 1.2 usr.bin/ldd/ldd.c: revision 1.3 usr.bin/ldd/elf32/Makefile: revision 1.3 usr.bin/ldd/ldd_elf/Makefile: file removal usr.bin/ldd/ldd.h: revision 1.1 usr.bin/ldd/ldd.c: revision 1.4 usr.bin/ldd/ldd_aout.c: revision 1.1 usr.bin/ldd/Makefile: revision 1.8 usr.bin/ldd/Makefile: revision 1.9 usr.bin/ldd/ldd_elfxx.c: revision 1.1 libexec/ld.elf_so/map_object.c: revision 1.37 usr.bin/ldd/ldd_aout/Makefile: file removal usr.bin/ldd/elf64/Makefile: revision 1.1 rescue/Makefile: revision 1.22 libexec/ld.elf_so/arch/i386/Makefile.ld32: revision 1.1 usr.bin/ldd/ldd_elf/ldd.c: file removal usr.bin/ldd/elf64/Makefile: revision 1.2 usr.bin/ldd/elf64/Makefile: revision 1.3 usr.bin/ldd/aout/Makefile: revision 1.1 libexec/ld.elf_so/arch/i386/Makefile.inc: revision 1.12 rescue/list.ldd: revision 1.1 usr.bin/ldd/ldd_elf/README: file removal usr.bin/ldd/Makefile.common: revision 1.1 move the defines for RTLD_ARCH_SUBDIR into a sub-sub-makefile so we can grab these values via reach-over more easily. some fixes for PR#40170: - set NATIVE=yes in the environment for genscripts.sh - set LIB_PATH to /usr/lib/{sparc,i386} for those scripts - set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh - get rid of building an a.out-happy ldd (but keep supporting a.out binaries for the ELF version.) - convert a.out, elf32 and elf64 support into convience libraries and link them right ones in. if elf_ldd() fails on 64 bit platforms, try elf32_ldd() before aout_ldd(). now ldd on 64 bit platforms works for 32 bit binaries, aka PR#40199, and it seems that all the issues from README are gone too. add some (uintptr_t) to some casts, so these compile with ELFSIZE=32 *and _LP64. necessary for 32/64 bit combo ldd support. - rework this a bunch to make it work inside /rescue/ldd. - fix alpha build. make sure we set LIBISPRIVATE. fixes build issues reported by moof. make sure we set LIBISPRIVATE. fixes build issues reported by moof.
|
1.1.2.1 |
| 06-Jan-2009 |
bouyer | file ldd_elfxx.c was added on branch netbsd-5 on 2009-01-16 22:21:30 +0000
|
1.1.2.3.4.1 |
| 17-Feb-2012 |
matt | Move fmtprint and print_needed since they are dependent on ELFSIZE.
|
1.5.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.6.14.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|