ELF Tool Chain/elftoolchain 4272trunk/common/sys elfconstants.m4 elfdefinitions.m4

common: Comment ELFMAG[1..3] in generated output.
DeltaFile
+8-4trunk/common/sys/elfconstants.m4
+9-1trunk/common/sys/elfdefinitions.m4
+17-52 files

ELF Tool Chain/elftoolchain 4271trunk/common/sys elfdefinitions.m4

elfdefinitions: Add a macro used for symbol versioning.

This change was missed out in [r4268].
DeltaFile
+2-0trunk/common/sys/elfdefinitions.m4
+2-01 files

ELF Tool Chain/elftoolchain 4270trunk/common/sys elfconstants.m4 elfdefinitions.m4

common: Add DF_1_* symbols and aliases.
DeltaFile
+32-1trunk/common/sys/elfconstants.m4
+5-0trunk/common/sys/elfdefinitions.m4
+37-12 files

ELF Tool Chain/elftoolchain 4269trunk/common/sys elfconstants.m4

elfconstants: Remove unnecessary M4 quoting.
DeltaFile
+21-21trunk/common/sys/elfconstants.m4
+21-211 files

ELF Tool Chain/elftoolchain 4268trunk/common/sys elfdefinitions.m4 elfconstants.m4

common: Add definitions used for symbol versioning.
DeltaFile
+5-0trunk/common/sys/elfdefinitions.m4
+2-0trunk/common/sys/elfconstants.m4
+7-02 files

ELF Tool Chain/elftoolchain 4267trunk/common/sys elfconstants.m4

elfconstants: Add VER_FLG_INFO.
DeltaFile
+2-0trunk/common/sys/elfconstants.m4
+2-01 files

ELF Tool Chain/elftoolchain 4266trunk/common/sys elfdefinitions.m4

elfdefinitions: Make a comment more accurate.
DeltaFile
+2-2trunk/common/sys/elfdefinitions.m4
+2-21 files

ELF Tool Chain/elftoolchain 4265trunk/common/sys elfdefinitions.m4

elfdefinitions: Add a definition for ELF_VER_CHR.
DeltaFile
+2-0trunk/common/sys/elfdefinitions.m4
+2-01 files

ELF Tool Chain/elftoolchain 4264trunk/common/sys elfconstants.m4

Minor: Add descriptions for ELFMAG and SELFMAG.

DeltaFile
+2-2trunk/common/sys/elfconstants.m4
+2-21 files

ELF Tool Chain/elftoolchain 4263trunk/common/sys elfdefinitions.m4

common: Refactor the ELF{32,64}_ST_*() macros.

Define ELF class-agnostic ELF_ST_*() macros for accessing the
'st_info' and 'st_other' fields of Elf##_Sym structures, and use
the class-agnostic definitions to implement the class-specific
ELF{32,64}_ST_*() macros.

The class-agnostic ELF_ST_*() macros should help improve the
succinctness of code fragments dealing with these fields that
are otherwise ELF class-agnostic.

DeltaFile
+14-8trunk/common/sys/elfdefinitions.m4
+14-81 files

ELF Tool Chain/elftoolchain 4262trunk/common/sys elfconstants.m4 elfdefinitions.m4

common: Update the set of known SYMINFO_* constants.
DeltaFile
+34-16trunk/common/sys/elfconstants.m4
+11-6trunk/common/sys/elfdefinitions.m4
+45-222 files

ELF Tool Chain/elftoolchain 4261trunk/common/sys elfconstants.m4 elfdefinitions.m4

common: Rework the M4 macros for ELF note types.

This change groups related definitions together, to ease adding
additional note types in the future.
DeltaFile
+36-15trunk/common/sys/elfconstants.m4
+3-3trunk/common/sys/elfdefinitions.m4
+39-182 files

ELF Tool Chain/elftoolchain 4260trunk/common/sys elfconstants.m4

elfconstants: add gABI v4.3(DRAFT) symbol DT_SYMTABSZ.
DeltaFile
+2-0trunk/common/sys/elfconstants.m4
+2-01 files

ELF Tool Chain/elftoolchain 4259trunk/common/sys elfconstants.m4

elfconstants: remove DT_MAXPOSTAGS.

This symbol holds the number of small-valued DT_* tags known
at compile time.

However, ELF files in the wild could contain DT_* tags that
are not known at compile time and/or could contain known
but non-small-valued tags in the range DT_LOOS (0x6000000D)
to DT_HIPROC (0x7FFFFFFF).  ELF-handling tools are expected
to handle such tags gracefully, which means that the value of
DT_MAXPOSTAGS is not useful in practice.

Remove the symbol to reduce maintenance overhead.
DeltaFile
+0-2trunk/common/sys/elfconstants.m4
+0-21 files

ELF Tool Chain/elftoolchain 4258trunk/readelf readelf.c

readelf: Ignore DT_MAXPOSTAGS.

This value is a sentinel, not an actual dynamic linking
tag.
DeltaFile
+0-1trunk/readelf/readelf.c
+0-11 files

ELF Tool Chain/elftoolchain 4257trunk/common/sys elfdefinitions.m4

common: Add C definitions for relative relocation entries.
DeltaFile
+5-0trunk/common/sys/elfdefinitions.m4
+5-01 files

ELF Tool Chain/elftoolchain 4256trunk/common/sys elfconstants.m4

common: Add ABI constants from v4.3(DRAFT) of the gABI.
DeltaFile
+11-1trunk/common/sys/elfconstants.m4
+11-11 files

ELF Tool Chain/elftoolchain 4255trunk/tests/tet/libelf/tset/elf_getarhdr getarhdr.m4

libelf/testsuite: Check archive member timestamps returned by elf_getarhdr(3).

DeltaFile
+10-0trunk/tests/tet/libelf/tset/elf_getarhdr/getarhdr.m4
+10-01 files

ELF Tool Chain/elftoolchain 4254trunk/libelf elf_getarhdr.3

libelf: Document the ELF_E_ARCHIVE signalled by elf_getarhdr(3)
after [r4251].
DeltaFile
+5-1trunk/libelf/elf_getarhdr.3
+5-11 files

ELF Tool Chain/elftoolchain 4253trunk/tests/tet/libelf/tset/elf_update update.m4

libelf/testsuite: Only update Elf_Data fields that use non-default values.

This change avoids redundant assignment statements in generated test
code.
DeltaFile
+23-16trunk/tests/tet/libelf/tset/elf_update/update.m4
+23-161 files

ELF Tool Chain/elftoolchain 4252trunk/libelf libelf_ar.c

libelf: (bug fix) Parse the date field in ar(1) headers.
DeltaFile
+5-0trunk/libelf/libelf_ar.c
+5-01 files

ELF Tool Chain/elftoolchain 4251trunk/libelf libelf_ar.c

libelf: Signal ELF_E_ARCHIVE for ar(1) archives with an invalid header.
DeltaFile
+2-0trunk/libelf/libelf_ar.c
+2-01 files

ELF Tool Chain/elftoolchain 4250trunk/libelf libelf_ar_util.c

libelf: Reject ar(1) header fields with digits larger than their expected base.
DeltaFile
+1-1trunk/libelf/libelf_ar_util.c
+1-11 files

ELF Tool Chain/elftoolchain 4249trunk/tests/tet/libelf/tset/elf_getarhdr getarhdr.m4

libelf/testsuite: Add tests for ar(1) archive handling.

These tests verify that ar(1) archives with unparseable archive
headers are flagged appropriately.
DeltaFile
+100-0trunk/tests/tet/libelf/tset/elf_getarhdr/getarhdr.m4
+100-01 files

ELF Tool Chain/elftoolchain 4248trunk/tests/custom/ar/plugin ardiff.c

ar/testsuite: Handle potential file access errors.

Detected by:    Coverity Scan
DeltaFile
+17-10trunk/tests/custom/ar/plugin/ardiff.c
+17-101 files

ELF Tool Chain/elftoolchain 4247trunk/tests/tet/libelf/tset/common elfts-compare-files.c

libelf/testsuite: pass the correct address range to munmap().

Detected by:    Coverity Scan
DeltaFile
+6-3trunk/tests/tet/libelf/tset/common/elfts-compare-files.c
+6-31 files

ELF Tool Chain/elftoolchain 4246trunk/tests/tet/libelf/tset/elf_begin begin.m4

libelf/testsuite: Improve error handling during test case setup.

Detected by:    Coverity Scan
DeltaFile
+9-2trunk/tests/tet/libelf/tset/elf_begin/begin.m4
+9-21 files

ELF Tool Chain/elftoolchain 4245trunk/addr2line addr2line.c

addr2line: Handle DWARF parsing failures.

Detected by:    Coverity Scan
DeltaFile
+6-4trunk/addr2line/addr2line.c
+6-41 files

ELF Tool Chain/elftoolchain 4244trunk/ar write.c

ar: Fix a potential resource leak.

Detected by:    Coverity Scan
DeltaFile
+3-3trunk/ar/write.c
+3-31 files

ELF Tool Chain/elftoolchain 4243trunk/libelftc libelftc_dem_gnu3.c

libelftc: Release resources on error.

Detected by:    Coverity Scan
DeltaFile
+1-1trunk/libelftc/libelftc_dem_gnu3.c
+1-11 files