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

Joseph Koshy jkoshy at FreeBSD.org
Sun Dec 17 21:40:02 PST 2006


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


More information about the cvs-src mailing list