Date: Mon, 18 Dec 2006 05:40:01 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libelf Makefile elf_types.m4 gelf.h gelf_cap.c gelf_move.c gelf_syminfo.c libelf_convert.m4 libelf_fsize.m4 libelf_msize.m4 Message-ID: <200612180540.kBI5e1t5039338@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jkoshy 2006-12-18 05:40:01 UTC FreeBSD src repository Modified files: lib/libelf Makefile elf_types.m4 gelf.h gelf_cap.c gelf_move.c gelf_syminfo.c libelf_convert.m4 libelf_fsize.m4 libelf_msize.m4 Log: Use <osreldate.h> rather than the OS version reported by the kernel to determine which Elf Types are to be handled. Change the M4 templates to wrap an `#if __FreeBSD_version >= NNN'/`#endif' pair around the generated code for each ELF data type, where `NNN' is the OS version where the ELF type was added to the source tree. This change allows cross-builds of old sources on newer FreeBSD systems to work correctly. Problem reported by: ru Revision Changes Path 1.4 +6 -11 src/lib/libelf/Makefile 1.2 +34 -24 src/lib/libelf/elf_types.m4 1.2 +2 -2 src/lib/libelf/gelf.h 1.2 +5 -0 src/lib/libelf/gelf_cap.c 1.2 +5 -0 src/lib/libelf/gelf_move.c 1.2 +5 -0 src/lib/libelf/gelf_syminfo.c 1.2 +9 -12 src/lib/libelf/libelf_convert.m4 1.2 +4 -9 src/lib/libelf/libelf_fsize.m4 1.2 +4 -9 src/lib/libelf/libelf_msize.m4
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612180540.kBI5e1t5039338>