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

libelf/testsuite: Fix a -Wsigned-compare warning.
DeltaFile
+2-1trunk/tests/tet/libelf/tset/gelf_xlate/xlate.m4
+2-11 files

ELF Tool Chain/elftoolchain 4362trunk/addr2line addr2line.c, trunk/brandelf brandelf.c

Use a dedicated header for elftc_get_program_name(3).

This change allows the function to be used without needing
<libelf.h> (included via <libelftc.h>) to be present.
DeltaFile
+42-0trunk/libelftc/elftc_get_program_name.h
+2-2trunk/libelftc/elftc_get_program_name.3
+2-0trunk/addr2line/addr2line.c
+2-0trunk/brandelf/brandelf.c
+2-0trunk/cxxfilt/cxxfilt.c
+2-0trunk/elfcopy/main.c
+52-211 files not shown
+71-317 files

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

libelf/testsuite: Avoid the use of 'result' status variables.
DeltaFile
+112-156trunk/tests/tet/libelf/tset/gelf_xlate/xlate.m4
+112-1561 files

ELF Tool Chain/elftoolchain 4360trunk/tests/tet/libelf/tset/abi abi.m4, trunk/tests/tet/libelf/tset/elf_cntl cntl.m4

libelf/test-suite: Convert tests to not use 'result' variables.
DeltaFile
+61-114trunk/tests/tet/libelf/tset/elf_update/update.m4
+12-24trunk/tests/tet/libelf/tset/gelf_getehdr/ehdr.m4
+9-17trunk/tests/tet/libelf/tset/elf_cntl/cntl.m4
+5-9trunk/tests/tet/libelf/tset/elf_getbase/getbase.m4
+3-8trunk/tests/tet/libelf/tset/abi/abi.m4
+2-4trunk/tests/tet/libelf/tset/elf_relocation_macros/relocation_macros.m4
+92-1763 files not shown
+96-1879 files

ELF Tool Chain/elftoolchain 4359trunk/tests/tet/libelf/tset/common xlate_c_template.c elf_flag.m4, trunk/tests/tet/libelf/tset/elf_errmsg errmsg.m4

libelf/test-suite: Convert tests to not use 'result' variables.
DeltaFile
+42-70trunk/tests/tet/libelf/tset/common/xlate_c_template.c
+14-21trunk/tests/tet/libelf/tset/elf_getident/getident.m4
+5-18trunk/tests/tet/libelf/tset/elf_errmsg/errmsg.m4
+3-7trunk/tests/tet/libelf/tset/elf_next/next.m4
+3-7trunk/tests/tet/libelf/tset/elf_update/update.m4
+1-8trunk/tests/tet/libelf/tset/common/elf_flag.m4
+68-1319 files not shown
+71-14915 files

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

libelf/test-suite: Convert tests to not use 'result' variables.
DeltaFile
+33-67trunk/tests/tet/libelf/tset/common/xlate_template.m4
+33-671 files

ELF Tool Chain/elftoolchain 4357trunk/tests/tet/libdwarf/ts/dwarf_die_convenience dwarf_die_convenience.c, trunk/tests/tet/libdwarf/ts/dwarf_die_offset dwarf_die_offset.c

libdwarf/test-suite: Do not use 'result' variables for tracking test status.
DeltaFile
+20-31trunk/tests/tet/libdwarf/ts/dwarf_die_convenience/dwarf_die_convenience.c
+18-32trunk/tests/tet/libdwarf/ts/dwarf_lineno/dwarf_lineno.c
+20-29trunk/tests/tet/libdwarf/ts/dwarf_frame/dwarf_frame.c
+18-28trunk/tests/tet/libdwarf/ts/dwarf_form/dwarf_form.c
+11-27trunk/tests/tet/libdwarf/ts/dwarf_die_offset/dwarf_die_offset.c
+13-23trunk/tests/tet/libdwarf/ts/dwarf_siblingof/dwarf_siblingof.c
+100-17016 files not shown
+193-37822 files

ELF Tool Chain/elftoolchain 4356trunk/tests/tet/libelftc/tset/elftc_bfd_target elftc_bfd_target.m4, trunk/tests/tet/libelftc/tset/elftc_get_machine_name elftc_get_machine_name.m4

libelftc/test-suite: Avoid using 'result' variables.
DeltaFile
+30-80trunk/tests/tet/libelftc/tset/elftc_string_table/string_table.m4
+26-30trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+8-21trunk/tests/tet/libelftc/tset/elftc_vector/elftc_vector.m4
+4-10trunk/tests/tet/libelftc/tset/elftc_get_machine_name/elftc_get_machine_name.m4
+2-6trunk/tests/tet/libelftc/tset/elftc_bfd_target/elftc_bfd_target.m4
+2-5trunk/tests/tet/libelftc/tset/elftc_version/elftc_version.m4
+72-1526 files

ELF Tool Chain/elftoolchain 4355trunk/tests/tet/libelf/tset/common ehdr_template.m4 newehdr_template.m4, trunk/tests/tet/libelf/tset/elf_begin begin.m4

libelf/test-suite: Remove an unneeded 'result' variable.
DeltaFile
+56-89trunk/tests/tet/libelf/tset/elf_begin/begin.m4
+23-33trunk/tests/tet/libelf/tset/gelf_newehdr/ehdr.m4
+14-27trunk/tests/tet/libelf/tset/common/ehdr_template.m4
+7-13trunk/tests/tet/libelf/tset/common/newehdr_template.m4
+4-4trunk/tests/tet/libelf/tset/common/gelf_ehdr_template.h
+2-2trunk/tests/tet/tet/common/elfts.m4
+106-1686 files

ELF Tool Chain/elftoolchain 4354trunk/tests/tet/libelf/tset/elf_begin begin.m4, trunk/tests/tet/libelf/tset/elf_errno errno.m4

libelf/test-suite: Improve the name of a helper macro.
DeltaFile
+14-14trunk/tests/tet/libelf/tset/elf_begin/begin.m4
+2-2trunk/tests/tet/libelf/tset/elf_errno/errno.m4
+2-2trunk/tests/tet/tet/common/elfts.m4
+18-183 files

ELF Tool Chain/elftoolchain 4353trunk/tests/tet/libelf/tset/elf_begin begin.m4, trunk/tests/tet/tet/common elfts.m4

libelf/test-suite: Simplify use of the TP_SET_VERSION() macro.

This macro is used early during test case setup (before other
test resources are allocated), so we can just return with an
'UNRESOLVED' test status if setup fails.
DeltaFile
+0-2trunk/tests/tet/libelf/tset/elf_begin/begin.m4
+1-1trunk/tests/tet/tet/common/elfts.m4
+1-32 files

ELF Tool Chain/elftoolchain 4352trunk/tests/tet/tet/common elfts.m4

tests/tet: (WIP) Improve test conciseness.

TET handles multiple calls to tet_result() in a well-defined
way: when there are multiple calls to tet_result() from
within a test, 'FAIL' or 'UNRESOLVED' test statuses will
override any subsequent 'PASS' statuses.  Use this behavior
to remove the need to track test status using a dedicated
'result' variable.

Subsequent changes will remove the now-redundant 'result'
variable from test case code.
DeltaFile
+2-2trunk/tests/tet/tet/common/elfts.m4
+2-21 files

ELF Tool Chain/elftoolchain 4351trunk/libelftc elftc_vector.3 elftc_vector.c, trunk/tests/tet/libelftc/tset/elftc_vector elftc_vector.m4

libelftc: Simplify the elftc_vector_delete(3) API.

DeltaFile
+9-16trunk/libelftc/elftc_vector.3
+9-9trunk/tests/tet/libelftc/tset/elftc_vector/elftc_vector.m4
+6-9trunk/libelftc/elftc_vector.c
+2-2trunk/libelftc/elftc_vector.h
+26-364 files

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

libelf/testsuite: Add tests for Loongarch relocation constants.

These constants were added in revision [r4311].
DeltaFile
+14-1trunk/tests/tet/libelftc/tset/elftc_get_relocation_type_name/elftc_get_relocation_type_name.m4
+14-11 files

ELF Tool Chain/elftoolchain 4349trunk/tests/tet/libelftc tet_scen, trunk/tests/tet/libelftc/tset Makefile elftc_vector

libelftc/testsuite: Add tests for elftc_vector(3).
DeltaFile
+360-0trunk/tests/tet/libelftc/tset/elftc_vector/elftc_vector.m4
+7-0trunk/tests/tet/libelftc/tset/elftc_vector/Makefile
+2-0trunk/tests/tet/libelftc/tet_scen
+1-0trunk/tests/tet/libelftc/tset/Makefile
+0-0trunk/tests/tet/libelftc/tset/elftc_vector/
+370-05 files

ELF Tool Chain/elftoolchain 4348trunk/libelftc Makefile

libelftc: Add elftc_vector(3) to the build.

DeltaFile
+1-0trunk/libelftc/Makefile
+1-01 files

ELF Tool Chain/elftoolchain 4347trunk/libelftc elftc_vector.3 elftc_vector.c

libelftc: Add elftc_vector(3), a dynamically-sized sequenced container.
DeltaFile
+276-0trunk/libelftc/elftc_vector.3
+218-0trunk/libelftc/elftc_vector.c
+79-0trunk/libelftc/elftc_vector.h
+573-03 files

ELF Tool Chain/elftoolchain 4346trunk/mk elftoolchain.tet.mk

elftoolchain.tet.mk: Add a 'debug-test' convenience target.
DeltaFile
+3-0trunk/mk/elftoolchain.tet.mk
+3-01 files

ELF Tool Chain/elftoolchain 4345trunk/common _elftc.h

common: delete the ELFTC_GETPROGNAME() macro.

Code that used this macro has been migrated to use the
elftc_get_program_name() helper function.
DeltaFile
+0-41trunk/common/_elftc.h
+0-411 files

ELF Tool Chain/elftoolchain 4344trunk/isa isa.c

isa: Use elftc_get_program_name(3).
DeltaFile
+2-2trunk/isa/isa.c
+2-21 files

ELF Tool Chain/elftoolchain 4343trunk/findtextrel findtextrel.c

findtextrel: Use elftc_get_program_name(3).
DeltaFile
+2-2trunk/findtextrel/findtextrel.c
+2-21 files

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

elfdump: Use elftc_get_program_name(3).
DeltaFile
+2-2trunk/elfdump/elfdump.c
+2-21 files

ELF Tool Chain/elftoolchain 4341trunk/elfcopy main.c

elfcopy: Use elftc_get_program_name(3).

Simplify code that previously had to deal with NULL values
returned by the ELFTC_GETPROGNAME() macro.
DeltaFile
+6-6trunk/elfcopy/main.c
+6-61 files

ELF Tool Chain/elftoolchain 4340trunk/ld ld_main.c ld_options.c

ld: Use elftc_get_program_name(3).

Simplify code that previously had to deal NULL values returned
by the ELFTC_GETPROGNAME() macro.
DeltaFile
+1-2trunk/ld/ld_main.c
+1-1trunk/ld/ld_options.c
+2-32 files

ELF Tool Chain/elftoolchain 4339trunk/nm nm.c

nm: Use elftc_get_program_name(3).
DeltaFile
+1-1trunk/nm/nm.c
+1-11 files

ELF Tool Chain/elftoolchain 4338trunk/cxxfilt cxxfilt.c

cxxfilt: Use elftc_get_program_name(3).
DeltaFile
+3-2trunk/cxxfilt/cxxfilt.c
+3-21 files

ELF Tool Chain/elftoolchain 4337trunk/brandelf brandelf.c

brandelf: Use elftc_get_program_name(3).
DeltaFile
+2-2trunk/brandelf/brandelf.c
+2-21 files

ELF Tool Chain/elftoolchain 4336trunk/as as.c

as: Use elftc_get_program_name(3).
DeltaFile
+2-2trunk/as/as.c
+2-21 files

ELF Tool Chain/elftoolchain 4335trunk/ar ar.c

ar: Use elftc_get_program_name(3).

Simplify code that previously had to deal NULL values from the
ELFTC_GETPROGNAME() macro.
DeltaFile
+5-7trunk/ar/ar.c
+5-71 files

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

readelf: Use elftc_get_program_name(3).
DeltaFile
+2-3trunk/readelf/readelf.c
+2-31 files