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

elfconstants: Update the set of known ELF header (EF_*) flags.
DeltaFile
+44-9trunk/common/sys/elfconstants.m4
+5-0trunk/common/sys/elfdefinitions.m4
+49-92 files

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

elfconstants: Group EF_* values and masks by machine architecture.

This change is intended to ease the implementation of an ELFTC(3) API that
returns the architecture-specific symbolic name for an e_flags value.
DeltaFile
+54-15trunk/common/sys/elfconstants.m4
+54-151 files

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

readelf: Add LoongArch support.

Ticket:         #623
Submitted by:   Haowu Ge
DeltaFile
+91-0trunk/readelf/readelf.c
+91-01 files

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

readelf: Replace custom code with the use of an -lelftc API.

Using ELFTC(3) APIs here reduces maintenance overheads when a new
EM_* constant needs to be supported.

This change alters the output of "readelf -h" for a few ELF machine
types.  This should hopefully not be an issue in practice, since the
output of readelf(1) is primarily meant for human consumption.
DeltaFile
+5-97trunk/readelf/readelf.c
+5-971 files

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

elfconstants: Mark reserved ranges among EM_* values.
DeltaFile
+8-0trunk/common/sys/elfconstants.m4
+8-01 files

ELF Tool Chain/elftoolchain 4186trunk/elfcopy pe.c

Allow elfcopy to create LoongArch PE objects.

Ticket:         #623
Submitted by:   Haowu Ge
DeltaFile
+6-1trunk/elfcopy/pe.c
+6-11 files

ELF Tool Chain/elftoolchain 4185trunk/ar Makefile, trunk/ld Makefile

Have 'make clean' delete lexer output.
DeltaFile
+1-1trunk/ar/Makefile
+1-1trunk/ld/Makefile
+2-22 files

ELF Tool Chain/elftoolchain 4184trunk/tests/tet/libelftc/tset/elftc_bfd_target elftc_bfd_target.m4

libelftc/testsuite: Check for the BFD target added in [r4183].
DeltaFile
+1-0trunk/tests/tet/libelftc/tset/elftc_bfd_target/elftc_bfd_target.m4
+1-01 files

ELF Tool Chain/elftoolchain 4183trunk/libelftc libelftc_bfdtarget.c elftc_bfd_find_target.3

libelftc: Add a BFD descriptor for target "efi-app-loongarch64".

Ticket:         #623
Submitted by:   Haowu Ge
DeltaFile
+6-0trunk/libelftc/libelftc_bfdtarget.c
+2-1trunk/libelftc/elftc_bfd_find_target.3
+8-12 files

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

libelftc: Keep a list of BFD target descriptors sorted by name.

While here, neaten whitespace use.
DeltaFile
+70-71trunk/libelftc/libelftc_bfdtarget.c
+70-711 files

ELF Tool Chain/elftoolchain 4181trunk/tests/tet/libelftc tet_scen, trunk/tests/tet/libelftc/tset Makefile elftc_bfd_target

libelftc/testsuite: Start a test suite for the elftc_bfd_target*() APIs.
DeltaFile
+134-0trunk/tests/tet/libelftc/tset/elftc_bfd_target/elftc_bfd_target.m4
+7-0trunk/tests/tet/libelftc/tset/elftc_bfd_target/Makefile
+2-0trunk/tests/tet/libelftc/tet_scen
+1-0trunk/tests/tet/libelftc/tset/Makefile
+0-0trunk/tests/tet/libelftc/tset/elftc_bfd_target/
+144-05 files

ELF Tool Chain/elftoolchain 4180trunk/libelftc elftc_bfd_find_target.3

libelftc: Document BFD target names for LoongArch.

Ticket:         #623
Submitted by:   Haowu Ge
DeltaFile
+2-0trunk/libelftc/elftc_bfd_find_target.3
+2-01 files

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

libelftc: Add LoongArch-specific BFD descriptors.

Ticket:         #623
Submitted by:   Haowu Ge
DeltaFile
+25-0trunk/libelftc/libelftc_bfdtarget.c
+25-01 files

ELF Tool Chain/elftoolchain 4178trunk/libelftc libelftc.h

libelftc: Add comments.
DeltaFile
+7-7trunk/libelftc/libelftc.h
+7-71 files

ELF Tool Chain/elftoolchain 4177trunk/libelftc elftc_bfd_find_target.3

libelftc: Document ETF_PE and ETF_EFI for completeness.

While here, keep a list sorted and improve the consistency of the text.
DeltaFile
+10-4trunk/libelftc/elftc_bfd_find_target.3
+10-41 files

ELF Tool Chain/elftoolchain 4176trunk/tests/tet/libelf/tset/gelf_xlate xlate.m4

libelf/testsuite: Address -Wempty-body, -Wpointer-sign & -Wunused-parameter
warnings.
DeltaFile
+12-10trunk/tests/tet/libelf/tset/gelf_xlate/xlate.m4
+12-101 files

ELF Tool Chain/elftoolchain 4175trunk/tests/tet/libelf/tset/gelf_getehdr ehdr.m4, trunk/tests/tet/libelf/tset/gelf_newehdr ehdr.m4

libelf/testsuite: Address -Wmaybe-uninitialized and -Wunused warnings.
DeltaFile
+19-14trunk/tests/tet/libelf/tset/gelf_newehdr/ehdr.m4
+18-14trunk/tests/tet/libelf/tset/gelf_getehdr/ehdr.m4
+37-282 files

ELF Tool Chain/elftoolchain 4174trunk/tests/tet/libelf/tset/common xlate_template.m4

libelf/testsuite: Address -Wmaybe-uninitialized and -Wunused warnings.
DeltaFile
+114-138trunk/tests/tet/libelf/tset/common/xlate_template.m4
+114-1381 files

ELF Tool Chain/elftoolchain 4173trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name elftc_get_relocation_type_name.m4

libelftc/testsuite: Catch up with [r4172].
DeltaFile
+3-3trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+3-31 files

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

elfconstants: Use psABI spellings for a few EM_AARCH64 relocation types.
DeltaFile
+10-3trunk/common/sys/elfconstants.m4
+10-31 files

ELF Tool Chain/elftoolchain 4171trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name elftc_get_relocation_type_name.m4

libelftc/testsuite: Add tests for 32-bit EM_AARCH64 relocation types.

While here, visually separate logical groups of test values.
DeltaFile
+103-1trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+103-11 files

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

elfconstants: Add 32-bit relocation types for EM_AARCH64.
DeltaFile
+91-0trunk/common/sys/elfconstants.m4
+91-01 files

ELF Tool Chain/elftoolchain 4169trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name elftc_get_relocation_type_name.m4

libelf/testsuite: Add explanatory comments.
DeltaFile
+28-1trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+28-11 files

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

elfconstants: (minor cleanups) Add comments, keep a list sorted.
DeltaFile
+3-1trunk/common/sys/elfconstants.m4
+3-11 files

ELF Tool Chain/elftoolchain 4167trunk/libelftc elftc_reloc_type_str.c

libelftc: Implement elftc_reloc_type_str() using elftc_get_relocation_type_name().

This change reduces code duplication, and allows the
elftc_reloc_type_str() API to support all of the ELF
machine architectures and relocation types defined in
"common/sys/elfconstants.m4".
DeltaFile
+5-804trunk/libelftc/elftc_reloc_type_str.c
+5-8041 files

ELF Tool Chain/elftoolchain 4166trunk/tests/tet/cxxfilt/ts/common func.sh

c++filt/testsuite: Fix the path to the c++filt binary being tested.
DeltaFile
+1-1trunk/tests/tet/cxxfilt/ts/common/func.sh
+1-11 files

ELF Tool Chain/elftoolchain 4165trunk/libelftc elftc_get_relocation_type_name.m4

libelftc: Allow elftc_get_relocation_type_name() to translate
relocation type values for all SPARC architectures.
DeltaFile
+2-0trunk/libelftc/elftc_get_relocation_type_name.m4
+2-01 files

ELF Tool Chain/elftoolchain 4164trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name elftc_get_relocation_type_name.m4

libelftc/testsuite: Add tests for elftc_get_relocation_type_name(), for
known EM_MIPS relocation types.
DeltaFile
+178-3trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+178-31 files

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

elfconstants: Update the set of EM_MIPS relocations.

The official processor-specific ABI definition for this architecture
is of 1996 vintage, and the opensource toolchains that support the
architecture have been defining their own extensions to its psABI.
Keep track of the provenance of each relocation type, to help with
future updates to this set.

DeltaFile
+131-38trunk/common/sys/elfconstants.m4
+131-381 files

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

elfdefinitions: Handle symbol descriptions containing commas correctly.
DeltaFile
+2-2trunk/common/sys/elfdefinitions.m4
+2-21 files