Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/ldd



Module Name:    src
Committed By:   mrg
Date:           Tue Jan  6 03:59:57 UTC 2009

Modified Files:
        src/usr.bin/ldd: Makefile
Added Files:
        src/usr.bin/ldd: Makefile.common Makefile.elf ldd.c ldd.h ldd_aout.c
            ldd_elfxx.c
        src/usr.bin/ldd/aout: Makefile
        src/usr.bin/ldd/elf32: Makefile
        src/usr.bin/ldd/elf64: Makefile
Removed Files:
        src/usr.bin/ldd/ldd_aout: Makefile ldd.c
        src/usr.bin/ldd/ldd_elf: Makefile README ldd.c

Log Message:
- 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.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/usr.bin/ldd/Makefile
cvs rdiff -r0 -r1.1 src/usr.bin/ldd/Makefile.common \
    src/usr.bin/ldd/Makefile.elf src/usr.bin/ldd/ldd.h \
    src/usr.bin/ldd/ldd_aout.c src/usr.bin/ldd/ldd_elfxx.c
cvs rdiff -r0 -r1.3 src/usr.bin/ldd/ldd.c
cvs rdiff -r0 -r1.1 src/usr.bin/ldd/aout/Makefile
cvs rdiff -r0 -r1.1 src/usr.bin/ldd/elf32/Makefile
cvs rdiff -r0 -r1.1 src/usr.bin/ldd/elf64/Makefile
cvs rdiff -r1.8 -r0 src/usr.bin/ldd/ldd_aout/Makefile
cvs rdiff -r1.20 -r0 src/usr.bin/ldd/ldd_aout/ldd.c
cvs rdiff -r1.17 -r0 src/usr.bin/ldd/ldd_elf/Makefile
cvs rdiff -r1.4 -r0 src/usr.bin/ldd/ldd_elf/README
cvs rdiff -r1.32 -r0 src/usr.bin/ldd/ldd_elf/ldd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index