ELF Tool Chain/elftoolchain 4079trunk/libelf _libelf_config.h

libelf: Delete an unnecessary configuration stanza.

Submitted by:   Sunil Nimmagadda (on IRC)
DeltaFile
+0-16trunk/libelf/_libelf_config.h
+0-161 files

ELF Tool Chain/elftoolchain 4078trunk/mk os.NetBSD.mk

Use the latest pkgsrc version of Python (v3.12) on NetBSD.

DeltaFile
+1-1trunk/mk/os.NetBSD.mk
+1-11 files

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

elfconstants: Use unsigned literals for EM_* values.

This change aligns the signedness these literals with
the signedness of the ELF header's 'e_machine' field.
DeltaFile
+206-206trunk/common/sys/elfconstants.m4
+206-2061 files

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

readelf: Unbreak the build, post [r4070].

Submitted by:   Sunil Nimmagadda (on IRC)
DeltaFile
+7-7trunk/readelf/readelf.c
+7-71 files

ELF Tool Chain/elftoolchain 4075trunk/elfdump elfdump.c

elfdump: replace an ad hoc helper function with an ELFTC(3) API.

This change enables elfdump(1) to decode all of the ELF machine types
known to the Elftoolchain codebase.
DeltaFile
+10-32trunk/elfdump/elfdump.c
+10-321 files

ELF Tool Chain/elftoolchain 4074trunk/libelf _libelf.h elf_update.c

libelf: use an unsigned type internally to represent ELF classes.

This should be an internal-only change.  External APIs that specify
or return ELF class information (such as gelf_getclass(3) and
gelf_newehdr(3)) continue to use a signed values, as before.
DeltaFile
+19-16trunk/libelf/_libelf.h
+13-8trunk/libelf/elf_update.c
+4-3trunk/libelf/elf_scn.c
+3-3trunk/libelf/libelf_extended.c
+3-3trunk/libelf/gelf_phdr.c
+3-3trunk/libelf/gelf_ehdr.c
+45-3626 files not shown
+89-7832 files

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

elfconstants: use unsigned literals for e_ident[] values.
DeltaFile
+31-31trunk/common/sys/elfconstants.m4
+31-311 files

ELF Tool Chain/elftoolchain 4072trunk/libelftc elftc_get_machine_description.3 libelftc.h

libelftc: change an API to use an unsigned integral type.

Change the type of the 'e_machine' parameter to the
elftc_get_machine_*() APIs to be 'unsigned', to match
the signedness of the ELF header's 'e_machine' field.
DeltaFile
+2-2trunk/libelftc/elftc_get_machine_description.3
+2-2trunk/libelftc/libelftc.h
+1-1trunk/libelftc/elftc_get_machine_name.m4
+1-1trunk/libelftc/elftc_get_machine_description.m4
+6-64 files

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

elfconstants: Consistently mark ET_*, SHF_* and SHT_* values as unsigned.

DeltaFile
+34-34trunk/common/sys/elfconstants.m4
+34-341 files

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

elfconstants: Remove an unnecessary 'L' suffix from integer literals.

This allows the C compiler to use an appropriately sized integral type
for these literals, instead of the 'long int' type specified by the
'L' suffix.
DeltaFile
+191-191trunk/common/sys/elfconstants.m4
+191-1911 files

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

readelf: Work around a -Wmaybe-uninitialized warning.

Ticket: #627
DeltaFile
+1-0trunk/readelf/readelf.c
+1-01 files

ELF Tool Chain/elftoolchain 4068trunk/elfdump elfdump.c

elfdump: Fix a -Wformat-truncation error.

On platforms with a 64-bit 'size_t' type, a "%zu" format
specifier can use up to 20 decimal numbers to represent
a size_t value.  Scale a char[] buffer being written to
by snprintf() accordingly.

DeltaFile
+1-1trunk/elfdump/elfdump.c
+1-11 files

ELF Tool Chain/elftoolchain 4067trunk/libdwarf libdwarf_lineno.c

libdwarf: fix -Wsign-compare warnings.

Reported by:    Haowu Ge
Ticket:         #624
DeltaFile
+2-1trunk/libdwarf/libdwarf_lineno.c
+2-11 files

ELF Tool Chain/elftoolchain 4066trunk/libdwarf libdwarf_lineno.c

libdwarf: [bug fix] propagate an error return correctly.

Reported by:    Haowu Ge
Ticket:         #624
DeltaFile
+3-3trunk/libdwarf/libdwarf_lineno.c
+3-31 files

ELF Tool Chain/elftoolchain 4065trunk/libelftc elftc_get_machine_description.3 elftc_get_machine_name.m4

libelftc: Add elftc_get_machine_name() & elftc_get_machine_description().

These APIs translate ELF machine architecture (EM_*) values to their
corresponding symbol names and descriptions.
DeltaFile
+87-0trunk/libelftc/elftc_get_machine_description.3
+64-0trunk/libelftc/elftc_get_machine_name.m4
+63-0trunk/libelftc/elftc_get_machine_description.m4
+16-0trunk/libelftc/Makefile
+2-0trunk/libelftc/libelftc.h
+232-05 files

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

elfconstants.m4: Avoid duplicates when defining EM_* constants.
DeltaFile
+1-2trunk/common/sys/elfconstants.m4
+1-21 files

ELF Tool Chain/elftoolchain 4063trunk/libelftc libelftc_bfdtarget.c

libelftc: Fix a typo - FreeBSD's riscv port is little-endian.

This change brings the descriptor for target "elf64-riscv-freebsd"
in line with its documentation.

I missed this somehow when reviewing https://reviews.freebsd.org/D20768.

Reported by: Haowu Ge (on -developers)
Reviewed by: emaste at FreeBSD.org, imp at FreeBSD.org
FreeBSD Differential Revision: https://reviews.freebsd.org/D48271
DeltaFile
+1-1trunk/libelftc/libelftc_bfdtarget.c
+1-11 files

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

Add descriptions of ELF symbols to the generated "elfdefinitions.h" file.

This should make the generated "elfdefinitions.h" file easier
to comprehend.

While here, refactor the M4 code in the file into smaller helper
macros, and document these.
DeltaFile
+22-4trunk/common/sys/elfdefinitions.m4
+22-41 files

ELF Tool Chain/elftoolchain 4061trunk/tests/tet/elfdump/ts/common func.sh

Bug fix: use the correct invocation path to 'elfdump'.
DeltaFile
+1-1trunk/tests/tet/elfdump/ts/common/func.sh
+1-11 files

ELF Tool Chain/elftoolchain 4060trunk/libelftc elftc.3

Update the elftc(3) overview manual page.

- Add brief descriptions of the elftc_string_*() family of
  ELF string table functions.
- Add mention of elftc_reloc_type_str() and elftc_timestamp().
- Add manual page cross-references to the functions referenced
  in the text.
- Keep lists sorted alphabetically by function name.

DeltaFile
+59-7trunk/libelftc/elftc.3
+59-71 files

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

Add ELF header (e_flags) flags for the LoongArch architecture.

Ticket:  #623
DeltaFile
+14-0trunk/common/sys/elfconstants.m4
+14-01 files

ELF Tool Chain/elftoolchain 4058trunk/libdwarf dwarf_get_AT_name.3

libdwarf: Update a manual page date.

This change was overlooked in [r4056].

DeltaFile
+1-1trunk/libdwarf/dwarf_get_AT_name.3
+1-11 files

ELF Tool Chain/elftoolchain 4057trunk/libdwarf dwarf_get_AT_name.3

libdwarf: document dwarf_get_UT_name().

While here, improve the description of these functions to clarify
that they retrieve symbolic names for DWARF values, while returning
error codes.
DeltaFile
+14-5trunk/libdwarf/dwarf_get_AT_name.3
+14-51 files

ELF Tool Chain/elftoolchain 4056trunk/libdwarf dwarf_get_AT_name.3

libdwarf: Fix function prototype mismatches in a manual page.

Ticket:         #626
Reported by:    Roland Illig
DeltaFile
+22-22trunk/libdwarf/dwarf_get_AT_name.3
+22-221 files

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

Add LoongArch relocations.

Submitted by:   Haowu Ge
Ticket:         #623
DeltaFile
+122-0trunk/common/sys/elfconstants.m4
+122-01 files

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

Note that an ELF machine type value of 267 denotes the LoongArch GPU.

While here, correct the spelling of 'LoongArch'.

Obtained from: The Generic ABI mailing list (https://groups.google.com/g/generic-abi/c/9tr9IcCbWnE/m/2rbi5xTeAQAJ)
DeltaFile
+1-1trunk/common/sys/elfconstants.m4
+1-11 files

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

Catch up with the list of currently allocated ELF machine types.

Obtained from: The Generic ABI discussion list [https://groups.google.com/g/generic-abi/c/0kORSDcyhTE]
DeltaFile
+34-0trunk/common/sys/elfconstants.m4
+34-01 files

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

Bug fix: spell 'LoongArch' correctly.

Pointed out by: Haowu Ge
Ticket:         #623
DeltaFile
+1-1trunk/common/sys/elfconstants.m4
+1-11 files

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

Add an ELF machine type value for the Loongarch architecture.

Ticket:         #623
DeltaFile
+3-1trunk/common/sys/elfconstants.m4
+3-11 files

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

Minor: sort a list of ISA identifiers in a comment.
DeltaFile
+2-2trunk/common/sys/elfconstants.m4
+2-21 files