3425454a10d307fae891fb667cf7969e945cde79 |
|
09-Oct-2015 |
Josh Stone <jistone@redhat.com> |
Trust AC_SYS_LARGEFILE to provide large file support AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS in config.h if needed for LFS, and this automatically maps things like open to open64. But quite a few places used explicit 64-bit names, which won't work on platforms like FreeBSD where off_t is always 64-bit and there are no foo64 names. It's better to just trust that AC_SYS_LARGEFILE is doing it correctly. But we can verify this too, as some file could easily forget to include config.h. The new tests/run-lfs-symbols.sh checks all build targets against lfs-symbols (taken from lintian) to make sure everything was implicitly mapped to 64-bit variants when _FILE_OFFSET_BITS is set. Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/libelf/elf_getdata_rawchunk.c
|
1ccdfb683ad6c7e59793136c3a657ddf131cafd1 |
|
22-Sep-2015 |
Mark Wielaard <mjw@redhat.com> |
Remove old-style function definitions. We already require -std=gnu99 and old-style function definitions might hide some compiler warnings. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libelf/elf_getdata_rawchunk.c
|
ede1d9d8aa4b04810e1ee04fcec9386e63f48d77 |
|
04-Jun-2015 |
Mark Wielaard <mjw@redhat.com> |
libelf: Make sure elf_getdata_rawchunk returns aligned data. elf_getdata_rawchunk might return an unaligned buffer for the requested ELF data type. Make sure the data is also correctly aligned when using an mmapped file. Also add some missing alignments for ELF data types for __libelf_type_align (the missing types could also make elf_getdata to return unaligned data). Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libelf/elf_getdata_rawchunk.c
|
f62658f71fdcf6a51e0dac1bfe4ab082be03bb8a |
|
23-Nov-2014 |
Mark Wielaard <mjw@redhat.com> |
libelf: Change signed overflow check to unsigned in elf_getdata_rawchunk. Arithmetic of signed values that overflow causes undefined behaviour Change to explicit unsigned arithmetic overflow check. Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libelf/elf_getdata_rawchunk.c
|
de2ed97f33139af5c7a0811e4ec66fc896a13cf2 |
|
05-Jun-2012 |
Mark Wielaard <mjw@redhat.com> |
Update name, license and contributor policy. * Change name from "Red Hat elfutils" to "elfutils". * Update license of standalone tools and test from GPLv2 to GPLv3+. * Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+. * Add Developer Certificate of Origin based contributor policy. top-level: - COPYING: Upgraded from GPLv2 to GPLv3. - CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files. - NEWS: Added note about new contribution and license policy. - Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST. - configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'. backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf: - All files updated to GPLv2/LGPLv3+. Except some very small files (<5 lines) which didn't have any headers at all before, the linker .maps files and the libcpu/defs files which only contain data and libelf/elf.h which comes from glibc and is under LGPLv2+. config: - elfutils.spec.in: Add new License: headers and new %doc files. - Update all license headers to GPLv2/LGPLv3+ for files used by libs. src, tests: - All files updated to GPLv3+. Except for the test bz2 data files, the linker maps and script files and some very small files (<5 lines) that don't have any headers. Signed-off-by: Richard Fontana <rfontana@redhat.com> Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libelf/elf_getdata_rawchunk.c
|
f1ccc410d6bda15ed49fc5d0fef9f6f65acbfb63 |
|
05-Jan-2011 |
Jan Kratochvil <jan.kratochvil@redhat.com> |
Fix off64_t overflow when MAXIMUM_SIZE == ~0.
/external/elfutils/libelf/elf_getdata_rawchunk.c
|
02f66452635df3d01f7e57845c3362ab828e3d89 |
|
04-Dec-2008 |
Ulrich Drepper <drepper@redhat.com> |
propagate from branch 'com.redhat.elfutils.roland.pending.libelf-threads' (head fc97c9c202b5d7d7699a3b1d5c53007a2ef37bb1) to branch 'com.redhat.elfutils' (head 67cccb9bfffc1a7fe3d8d355a2d9b6d0e489ff81)
/external/elfutils/libelf/elf_getdata_rawchunk.c
|
59ea7f33f781e6e3f8c9d81d457e5d99eee8f1ce |
|
04-Oct-2007 |
Roland McGrath <roland@redhat.com> |
src/ 2007-10-04 Roland McGrath <roland@redhat.com> * readelf.c (print_archive_index): New variable. (options, parse_opt): Accept -c/--archive-index to set it. (dump_archive_index): New function. (process_file): Take new arg WILL_PRINT_ARCHIVE_INDEX. Call dump_archive_index on archives if set. (main): Update caller. (any_control_option): Give it file scope, moved out of ... (parse_opt): ... here. tests/ 2007-10-04 Roland McGrath <roland@redhat.com> * run-readelf-test4.sh: New file. * Makefile.am (TESTS, EXTRA_DIST): Add it.
/external/elfutils/libelf/elf_getdata_rawchunk.c
|