ELF Tool Chain/elftoolchain 3682

Work-in-progress: command-line option parsing for
the test(3) driver.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3681

Allow building with -Wunused-parameter.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3680

Use a better name for an option argument, and improve
the description of the effect of test selection
arguments.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3679

Use "_elftc.h" to unbreak the build on OpenBSD.

Pointed out by:        Sunil Nimmagadda (on freenode)

While here, also fix a style nit.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3678

Add data structures and function stubs for a
command-line driver for test(3) executables.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3677

Update a README to catch up with the migration from
Trac to SF's native ticket tracker.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3676

Minor cleanups:

- Use a better name for a source file.
- Make the libtest/driver module a regular library that provides a
  main() to link against.
- Remove a bogus dependency line introduced in [r3668].

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3675

Update a few SourceForge URLs.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3674

Add a manual page describing the behavior of the command-line
test driver.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3673

Clarify the use of the elf_*scn() and elf_*data() APIs.

Suggested by:   Sunil Nimmagadda
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3672

Only use the 'test_' or 'TEST_' prefixes for symbols
exported by the test(3) API.

This reduces the likelihood of collisions between
test(3)'s symbols and those defined by its users.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3671

Issue a count of the number of test case descriptors
generated.

This change should have been part of [r3670].

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3670

Add an explicit count of the test functions that had
been grouped into a test case.

While here, improve a few comments, wrap long lines,
change a symbol naming prefix, trim a header and
rename it to reflect its intended use.

Ticket: #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3669

Plug a file descriptor leak in readelf(1).

Submitted by:   Sunil Nimmagadda [on freenode]
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3668

Ensure that test programs get relinked when the test
library or test driver changes.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3667

INSTALL: Bump supported FreeBSD version to 11.2

11.1 is no longer supported by the FreeBSD project; the process for
building on 11.2 is identical.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3666

cirrus-ci: install g++ on Debian

It's used to build some TET component(s).
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3665

cirrus-ci: fetch and unpack TET for Debian
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3664

Be more compliant with POSIX AWK.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3663

cirrus-ci: add Debian Stable task
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3662

Unbreak the FreeBSD build.

Reported by:    emaste
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3661

Add .cirrus.yml Cirrus-CI config file

Cirrus-CI is a hosted continuous integration service that supports
Linux, Windows, macOS, and FreeBSD.  It will automatically build and
execute tests upon commit - it currently integrates only with GitHub,
although other repo hosting providers will likely be added later.  For
now we expect to set up an automatic SourceForge->GitHub mirror.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3660

Remove mention of a non-existent manual page.

Noticed by:     sunil [on freenode]
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3659

Fix infelicitous ReST markup.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3658

Add a README describing the test(3) API.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3657

Record test names and test case names in generated
scaffolding code, preparing the ground for selecting
tests and test cases using their names.

While here, correct a few style errors.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3656

Fix markup errors in a README.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3655

Add the appropriate extension to a README file.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3654

Improve a few comments.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3653

Introduce an API for writing tests.

This initial commit introduces the API along with
its manual pages and simple examples of its use.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3652

Minor code tweaks:
- Rename a ".mk" file to better reflect its function.
- Allow Makefiles to override the default 'test' target.

Ticket:        #270
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3651

Use the post FreeBSD 7 spelling for the build knob
controlling manual page generation.

Noticed by:     emaste
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3650

Fix the 'native-elf-format' script on Ubuntu 16.04.* and 18.04.*.

Submitted by:   Christian Spindeldreier via SourceForge
Ticket:        #564
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3649

readelf: add NT_FREEBSD_FEATURE_CTL FreeBSD note type

Obtained from:  FreeBSD r340076
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3648

strings: fix style nits

Submitted by:   Mariusz Zaborski <oshogbo at FreeBSD.org>
Obtained from:  FreeBSD r340746, r340750
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3647

readelf: avoid printing directory in front of absolute path

Fix CU: output of the --debug-dump=decodedline, the problem there
is that both file name and current directory is recorded, however
file name sometimes already contains absolute path. In which case
prefixing it with directory name results in an invalid pathname.

Only prepend directory name if the file name does not start with '/'.

Submitted by:   Maxim Sobolev <sobomax at FreeBSD.org>
Obtained from:  FreeBSD r340745
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3646

elfcopy: avoid stripping relocations from static binaries

elfcopy contains logic to filter individual relocations in STRIP_ALL
mode, but this is not quite valid: relocations emitted by the linker
are required, unless they apply to an entire section being removed
(which is handled by other logic in elfcopy).  This logic resulted in
broken output when stripping a statically linked binary that contains
relocations (as may happen with ifunc use, for example).

Even though stripping required relocations produces output that is
arguably broken some things rely on it - for exmaple, GCC's build
process strips objects and compares the results of two build stages,
to ensure thare are no unexpected changes.  These stripped objects are
otherwise not useful; they cannot be linked into a working binary.

Change filter_reloc() to omit relocations referencing removed symbols,
while retaining relocations with no symbol reference, and retain the
entire relocation section if it references the dynamic symbol table.
This allows us to strip statically linked binaries while retaining the
existing behaviour of stripping objects into relocationless output.

Obtained from:  FreeBSD r339451
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3645

Style fixes to libelftc's manual pages, per 'mandoc -T lint'.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3644

Style fixes for the dwarf(3) manual pages, per
'mandoc -T lint'.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3643

Fix "mandoc -T lint" warnings in libelf's manual pages.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3642

Use the mdoc(7)-recommended ordering for the '.Dd',
'.Dt' and '.Os' macros.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3641

Use the mdoc(7) recommended ordering for the '.Dd',
'.Dt' and '.Os' macros.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3640

Use the recommended ordering for the '.Dd', '.Dt' and '.Os' macros.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3639

Use the recommended ordering for the documentation
preamble macros '.Dd', '.Dt' and '.Os'.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3638

elfcopy: avoid filter_reloc uninitialized variable for rela

Previously we accessed rel.r_info for both rel and rela relocations,
and it was unitialized in the latter case.  Note that filter_reloc is
likely to be removed (see FreeBSD PR232176) but we might as well fix
this bug in any case.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3637

Add the implementation of a helper function that had
been missed out in [r3632].

Reported by:    kaiwang27
Pointy hat to:  jkoshy
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3636

Add an example to a manual page.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3635

Manual page tweaks: remove a stale TODO, add a
cross-reference to the ar(5) manual page.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3634

Minor manual page tweaks: refer readers to elf(3),
correct a typo and improve the wording of a couple
of paragraphs.
DeltaFile
+0-00 files

ELF Tool Chain/elftoolchain 3633

Mention the 'gelf_xlatetof' and 'gelf_xlatetom'
APIs in the overview elf(3) manual page.
DeltaFile
+0-00 files