The NetBSD Project

CVS log for src/usr.bin/ldd/elf64/Makefile

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / ldd / elf64

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Apr 25 23:52:59 2021 UTC (3 years, 11 months ago) by christos
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Handle mipsn64

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:21 2019 UTC (5 years, 10 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +4 -2 lines
Sync with HEAD

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon Feb 4 00:05:20 2019 UTC (6 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +4 -2 lines
don't build ldd64 support if !MKCOMPAT and mips64.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Jan 27 05:14:45 2019 UTC (6 years, 2 months ago) by kre
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -3 lines

Fix merge botch

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Jan 27 02:08:51 2019 UTC (6 years, 2 months ago) by pgoyette
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -1 lines
Merge the [pgoyette-compat] branch

Revision 1.8.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 25 07:26:10 2018 UTC (6 years, 9 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -1 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Jun 21 10:41:46 2018 UTC (6 years, 10 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625
Branch point for: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Disable SANITIZER for ldd(1)

These utilities (elf32, elf32_compat, elf64, liblldb) share code with the
ELF dynamic loader that is not being sanitized and its symbols are
installed into sanitized programs (in particular __tls_get_addr()).

Additionally libldd is used in rescue that is not expected to be sanitized
as of today.

Revision 1.7.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 29 11:47:16 2014 UTC (10 years, 7 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +3 -1 lines
Pull up following revision(s) (requested by joerg in ticket #64):
	usr.bin/ldd/elf64/Makefile: revision 1.8
Fix ldd on LP64 platforms by splitting the symbol versioning stuff for
elf64 as well.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Aug 28 12:23:29 2014 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -1 lines
Fix ldd on LP64 platforms by splitting the symbol versioning stuff for
elf64 as well.

Revision 1.6.10.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:05:00 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -4 lines
Rebase to HEAD as of a few days ago.

Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:42:45 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +2 -4 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Mar 2 03:55:19 2014 UTC (11 years, 1 month ago) by matt
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -4 lines
Use OBJECT_FMTS from <bsd.own.mk> to determine elf32/elf64 needs

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Mar 9 23:10:08 2011 UTC (14 years, 1 month ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -1 lines
Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
_rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
setup the thread private area of all new threads. ld.elf_so is
responsible for setting up the private area for the initial thread.
Similar functions are called from _libc_init for static binaries, using
dl_iterate_phdr to access the ELF Program Header.

Add test cases to exercise the different TLS storage models. Test cases
are compiled and installed on all platforms, but are skipped on
platforms not marked for TLS support.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

It is inspired by the TLS support in FreeBSD by Doug Rabson and the
clean ups of the DragonFly port of the original FreeBSD modifications.

Revision 1.4.2.4: download - view: text, markup, annotated - select for diffs
Fri Jan 7 18:24:21 2011 UTC (14 years, 3 months ago) by riz
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Diff to: previous 1.4.2.3: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.3: +3 -1 lines
Pull up following revision(s) (requested by veego in ticket #1499):
	usr.bin/ldd/elf64/Makefile: revision 1.4
another bsd.own.mk missing

Revision 1.4.2.3: download - view: text, markup, annotated - select for diffs
Thu Jan 6 05:20:26 2011 UTC (14 years, 3 months ago) by riz
Branches: netbsd-5
Diff to: previous 1.4.2.2: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.2: +7 -2 lines
Apply patch (requested by mrg in ticket #1499):

src/compat version 2.  this allows building any number of alternate
library / program target ABIs.  rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support

Revision 1.4.2.2.4.3: download - view: text, markup, annotated - select for diffs
Wed Dec 23 03:14:47 2009 UTC (15 years, 4 months ago) by mrg
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Diff to: previous 1.4.2.2.4.2: preferred, colored; branchpoint 1.4.2.2: preferred, colored; next MAIN 1.4.2.3: preferred, colored
Changes since revision 1.4.2.2.4.2: +6 -2 lines
pull across from -current:
> Log Message:
> - adjust the logic for compat ldd: add an elf32_compat module and arrange
>   for mips64 to build this with MLIBDIR set to o32
> - make mips64 ldd call elf32_compat_ldd as well
> - make mips64 elf64 set MLIBDIR to 64
> - don't need ld.elf_so's Makefile.ld32 files anymore (they are going away
>   soon anyway)
>
> tested on amd64 and sparc64, and an earlier version tested on mips64.

> Log Message:
> make this actually build on mips64.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Dec 13 08:50:57 2009 UTC (15 years, 4 months ago) by mrg
Branches: MAIN
CVS tags: matt-premerge-20091211, matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +7 -2 lines
- adjust the logic for compat ldd: add an elf32_compat module and arrange
  for mips64 to build this with MLIBDIR set to o32
- make mips64 ldd call elf32_compat_ldd as well
- make mips64 elf64 set MLIBDIR to 64
- don't need ld.elf_so's Makefile.ld32 files anymore (they are going away
  soon anyway)

tested on amd64 and sparc64, and an earlier version tested on mips64.

Revision 1.4.2.2.4.2: download - view: text, markup, annotated - select for diffs
Sat Sep 5 18:53:58 2009 UTC (15 years, 7 months ago) by matt
Branches: matt-nb5-mips64
CVS tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Diff to: previous 1.4.2.2.4.1: preferred, colored; branchpoint 1.4.2.2: preferred, colored
Changes since revision 1.4.2.2.4.1: +6 -3 lines
Fix build problems with CPUFLAGS.

Revision 1.4.2.2.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 5 03:39:26 2009 UTC (15 years, 7 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.4.2.2: preferred, colored
Changes since revision 1.4.2.2: +4 -2 lines
If build a N64 userland, enable elf64 support in ldd.

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 16 22:21:30 2009 UTC (16 years, 3 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5
Branch point for: matt-nb5-mips64
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.2.1: +40 -0 lines
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.

Revision 1.4.2.1
Sun Jan 11 05:01:34 2009 UTC (16 years, 3 months ago) by bouyer
Branches: netbsd-5
FILE REMOVED
Changes since revision 1.4: +0 -42 lines
file Makefile was added on branch netbsd-5 on 2009-01-16 22:21:30 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Jan 11 05:01:34 2009 UTC (16 years, 3 months ago) by christos
Branches: MAIN
CVS tags: jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Branch point for: netbsd-5
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
another bsd.own.mk missing

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jan 7 07:52:28 2009 UTC (16 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
make sure we set LIBISPRIVATE.

fixes build issues reported by moof.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Jan 7 00:39:24 2009 UTC (16 years, 3 months ago) by mrg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +11 -4 lines
- rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jan 6 03:59:56 2009 UTC (16 years, 3 months ago) by mrg
Branches: MAIN
- 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.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>