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
+1-1trunk/tests/tet/tet/common/elfts.m4
+0-2trunk/tests/tet/libelf/tset/elf_begin/begin.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

ELF Tool Chain/elftoolchain 4333trunk/size size.c

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

ELF Tool Chain/elftoolchain 4332trunk/strings strings.c

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

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

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

ELF Tool Chain/elftoolchain 4330trunk/libelftc elftc_get_program_name.3 elftc.3

libelftc: document elftc_get_program_name(3).
DeltaFile
+55-0trunk/libelftc/elftc_get_program_name.3
+2-0trunk/libelftc/elftc.3
+57-02 files

ELF Tool Chain/elftoolchain 4329trunk/libelftc elftc_get_program_name.c

libelftc: Use SVN 'Id' keyword expansion for a file.
DeltaFile
+4-0trunk/libelftc/elftc_get_program_name.c
+4-01 files

ELF Tool Chain/elftoolchain 4328trunk/libelftc elftc_get_program_name.c

elftc_get_program_name: Handle a NULL return from getprogname(3).
DeltaFile
+3-1trunk/libelftc/elftc_get_program_name.c
+3-11 files

ELF Tool Chain/elftoolchain 4327trunk/libelftc elftc_get_program_name.c Makefile

libelftc: add a convenience API to get the current program name.

This API is intend to replace the ELFTC_GETPROGNAME() macro.
DeltaFile
+49-0trunk/libelftc/elftc_get_program_name.c
+1-0trunk/libelftc/Makefile
+1-0trunk/libelftc/libelftc.h
+51-03 files

ELF Tool Chain/elftoolchain 4326trunk/tools netbsd-base-system-import.sh

tools/netbsd-base-system-import.sh: Suppress unwanted expansion of $NetBSD$.

Before this change, instances of the literal string '$NetBSD$' within
this script were expanded by NetBSD's CVS if this script was imported
into NetBSD's sources and then checked out.  When subsequently used,
the script would then copy the expanded string into the locations
in the files being imported where the literal string '$NetBSD$'
was desired.

Although harmless (as CVS would eventually use the correct expansion
when the imported files were checked out later), the use of the
expanded value for '$NetBSD$' caused confusing diffs prior to check-in.

With this change, the literal string '$NetBSD$' should be placed in
the desired locations as-is.
DeltaFile
+3-3trunk/tools/netbsd-base-system-import.sh
+3-31 files

ELF Tool Chain/elftoolchain 4325trunk/tools netbsd-base-system-import.sh

netbsd-base-system-import.sh: import from upstream SVN by default.
DeltaFile
+17-5trunk/tools/netbsd-base-system-import.sh
+17-51 files