The NetBSD Project

CVS log for src/lib/libc/gen/nlist_elf32.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:05:19 2012 UTC (2 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.33: +28 -23 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Wed Mar 21 02:18:14 2012 UTC (2 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-7, agc-symver-base, agc-symver, HEAD
Changes since 1.34: +27 -20 lines
Diff to previous 1.34 (colored)

- don't compile unreachable code.
- convert uintmax_t to uintptr_t

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 20 16:36:05 2012 UTC (2 years, 5 months ago) by matt
Branch: MAIN
Changes since 1.33: +3 -5 lines
Diff to previous 1.33 (colored)

Use C89 definitions.
Remove use of __P

Revision 1.33 / (download) - annotate - [select for diffs], Sat Oct 15 21:06:58 2011 UTC (2 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, 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-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-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
Branch point for: yamt-pagecache
Changes since 1.32: +4 -2 lines
Diff to previous 1.32 (colored)

report STT_COMMON symbols as data.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Aug 28 21:30:02 2010 UTC (3 years, 11 months ago) by joerg
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

Replace the current usage of Elf64_Half with Elf64_Word and rename
NetBSD specific Elf64_Quarter to Elf64_Half. This restores compatibility
with the common ELF specifications.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Aug 21 08:42:02 2009 UTC (5 years ago) by he
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.30: +5 -5 lines
Diff to previous 1.30 (colored)

Introduce a new accessor macro N_NAME() to access the n_name field
in struct nlist, since it's accessed differently depending on
whether we do a.out or not.  Use this macro as appropriate in the
nlist* functions.
Also replace some includes of <a.out.h> with <nlist.h>, to fix build
problem for mips.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed May 13 19:18:23 2009 UTC (5 years, 3 months ago) by jym
Branch: jym-xensuspend
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

Revision 1.30 / (download) - annotate - [select for diffs], Mon Feb 16 10:40:45 2009 UTC (5 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.29: +3 -3 lines
Diff to previous 1.29 (colored)

A variation on the sign-compare fix for these.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Feb 6 23:47:44 2009 UTC (5 years, 6 months ago) by lukem
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

sign-compare fix

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jun 12 05:21:27 2005 UTC (9 years, 2 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, 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, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.27: +6 -1 lines
Diff to previous 1.27 (colored)

Add missing __RCSID()

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Sat Jun 11 12:13:55 2005 UTC (9 years, 2 months ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored)

Pull up revision 1.27 (requested by lukem in ticket #393):
Exit via the correct cleanup path; we can't munmap until the mmap has
been performed.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.22. Hi Ragge! :)

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jun 1 05:24:54 2005 UTC (9 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

Exit via the correct cleanup path; we can't munmap until the mmap has
been performed.
Detected with gcc -Wuninitialized.
(The bug was introduced in rev 1.22. Hi Ragge! :)

Revision 1.26 / (download) - annotate - [select for diffs], Tue Dec 28 00:08:08 2004 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-3-base
Branch point for: netbsd-3
Changes since 1.25: +4 -6 lines
Diff to previous 1.25 (colored)

More ELF_ST_BIND()/ELF_ST_TYPE() cleanup.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Dec 27 20:07:09 2004 UTC (9 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Use ELF_ST_BIND() and ELF_ST_TYPE().

Revision 1.24 / (download) - annotate - [select for diffs], Sat Jul 26 19:24:43 2003 UTC (11 years ago) by salo
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

netbsd.org->NetBSD.org

Revision 1.23 / (download) - annotate - [select for diffs], Sun May 11 20:56:51 2003 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

make this compile again.

Revision 1.22 / (download) - annotate - [select for diffs], Sun May 11 12:47:42 2003 UTC (11 years, 3 months ago) by ragge
Branch: MAIN
Changes since 1.21: +78 -13 lines
Diff to previous 1.21 (colored)

Teach nlist to retrieve symbols from /dev/ksyms (using the quick-search
ioctl's).

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:17:27 2000 UTC (14 years, 2 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.19: +11 -7 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Jun 14 17:25:03 2000 UTC (14 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, fvdl_fs64_base
Changes since 1.20: +11 -7 lines
Diff to previous 1.20 (colored)

sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)

Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 14 06:49:06 2000 UTC (14 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19 (colored)

fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:29:37 1999 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.15: +11 -16 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Pull up to last week's -current.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Nov 4 02:00:17 1999 UTC (14 years, 9 months ago) by erh
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.18: +1 -7 lines
Diff to previous 1.18 (colored)

Remove ELFNAME defines since they are defined in sys/exec_elf.h

Revision 1.18 / (download) - annotate - [select for diffs], Mon Oct 25 13:57:11 1999 UTC (14 years, 9 months ago) by kleink
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999
Changes since 1.17: +11 -10 lines
Diff to previous 1.17 (colored)

Update to match new SVR4-style definition names in <sys/exec_elf.h>.

Revision 1.17 / (download) - annotate - [select for diffs], Fri Oct 22 10:10:36 1999 UTC (14 years, 10 months ago) by hannken
Branch: MAIN
Changes since 1.16: +6 -0 lines
Diff to previous 1.16 (colored)

Undo last change. While these macros are defined in exec_elf.h, they are
enclosed by `#ifdef _KERNEL'.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 21 21:12:37 1999 UTC (14 years, 10 months ago) by erh
Branch: MAIN
Changes since 1.15: +1 -7 lines
Diff to previous 1.15 (colored)

Remove ELFNAME macros which are already defined in exec_elf.h.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Sep 20 04:39:03 1999 UTC (14 years, 11 months ago) by lukem
Branch: MAIN
Branch point for: wrstuden-devbsize
Changes since 1.14: +1 -11 lines
Diff to previous 1.14 (colored)

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 16 11:45:01 1999 UTC (14 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.13: +15 -1 lines
Diff to previous 1.13 (colored)

* use _DIAGASSERT() to check pointer arguments against NULL and file
  descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
  and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

		_DIAGASSERT(path != NULL)
	#ifdef _DIAGNOSTIC
		if (path == NULL) {
			errno = EFAULT;
			return (-1);
		}
	#endif

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 17 21:15:52 1999 UTC (15 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

MAP_COPY -> MAP_PRIVATE

Revision 1.12 / (download) - annotate - [select for diffs], Fri Nov 13 10:26:19 1998 UTC (15 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Changes since 1.11: +11 -10 lines
Diff to previous 1.11 (colored)

delint

Revision 1.11 / (download) - annotate - [select for diffs], Wed Oct 14 12:05:14 1998 UTC (15 years, 10 months ago) by kleink
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

Need "namespace.h".

Revision 1.10 / (download) - annotate - [select for diffs], Mon Aug 10 02:43:09 1998 UTC (16 years ago) by perry
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jul 26 17:55:45 1998 UTC (16 years ago) by mycroft
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

const poisoning.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Feb 3 18:23:49 1998 UTC (16 years, 6 months ago) by perry
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

remove obsolete register declarations

Revision 1.7 / (download) - annotate - [select for diffs], Mon Dec 15 05:43:54 1997 UTC (16 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.6: +3 -2 lines
Diff to previous 1.6 (colored)

use MAP_COPY|MAP_FILE.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jul 17 00:54:27 1997 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.5: +7 -2 lines
Diff to previous 1.5 (colored)

- Don't deref a bad pointer in the event the object has no symbol
  section header.  Instead, treat the object as stripped.
- Add a "default" case to the symbol type switch to calm GCC's jets.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 3 04:55:31 1996 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: nsswitch
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

fix pasto: Elf_{Off,Word} rather than Elf32_{Off,Word}

Revision 1.4 / (download) - annotate - [select for diffs], Tue Oct 1 13:35:34 1996 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.3: +12 -11 lines
Diff to previous 1.3 (colored)

clean up comments a bit.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Oct 1 00:32:52 1996 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.2: +138 -147 lines
Diff to previous 1.2 (colored)

"do over."  Rewrite from scratch, or, more precisely, based on a high-speed
merge of libc's ECOFF nlist support (written by me, a while ago), and the
(relatively new, but again written by me) kvm_mkdb ELF support.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 30 23:51:05 1996 UTC (17 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.1: +139 -159 lines
Diff to previous 1.1 (colored)

kill recently added 'check' functions, since they only add code to be more
expensive, i.e. they save nothing and add code.  also, beat it with the
style stick.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Sep 27 22:23:06 1996 UTC (17 years, 10 months ago) by cgd
Branch: MAIN

Seriously revamp libc's nlist()/__fdnlist() support:
	(1) split nlist() into multiple files, for clarity and to make
	    ELF 32/64 support easier,
	(2) support multiple executable types at the same time, and
	(3) add support for 32- and 64-bit ELF (32-bit ELF support
	    originally from OpenBSD, but with several bug fixes so
	    that it actually handles symbols types more correctly
	    (and therefore _works_ for some of the more tricky uses
	    of the nlist routines) and changes for 64-bit ELF support).

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>