llvm-project/llvm/test/tools/llvm-objcopy/ELF
Georgii Rymar 98a4289810 [llvm-readobj] - For SHT_REL relocations, don't display an addend.
This is https://bugs.llvm.org/show_bug.cgi?id=44257.

In LLVM style we always print `0` as addend when dumping
SHT_REL relocations. It is confusing, this patch stops
printing it as the first comment on the bug page suggests.

Differential revision: https://reviews.llvm.org/D93033
2020-12-14 12:03:00 +03:00
..
Inputs [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
abs-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
add-gnu-debuglink.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
add-note.test [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
add-section-and-set-flags.test [llvm-objcopy] Make --set-section-flags work with --add-section 2020-11-04 09:39:14 -08:00
add-section-remove.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
add-section-special.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
add-section.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
add-symbol-new-symbol-visibility.test
add-symbol-new-symtab.test [llvm-objcopy] Make --set-section-flags work with --add-section 2020-11-04 09:39:14 -08:00
add-symbol-no-symtab.test [yaml2obj] - Change the order of implicitly created sections. 2020-02-19 15:09:19 +03:00
add-symbol.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
adjacent-segments.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
archive-unknown-members.test
armexidx-link.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
auto-remove-shndx.test
bad-build-id.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
bad-output-format.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
basic-archive-copy.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
basic-binary-copy.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
basic-copy.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
basic-keep.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
basic-only-section.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
basic-relocations.test [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
binary-first-seg-offset-zero.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
binary-input-and-output.test
binary-input-error.test
binary-input.test
binary-no-paddr.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
binary-out-error.test
binary-output-empty.test
binary-output-target.test Support bfdname "elf32-hexagon". 2020-04-06 17:22:56 -05:00
binary-paddr.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
binary-remove-all-but-one.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
binary-remove-end.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
binary-remove-middle.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
binary-segment-layout.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
build-id-link-dir.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
cannot-delete-dest.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
change-entry-point.test
check-addr-offset-align-binary.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
check-addr-offset-align.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
common-symbol.test [Hexagon][llvm-objcopy] Add missing check for SHN_HEXAGON_SCOMMON_1 2020-06-24 19:56:01 -05:00
compress-and-decompress-debug-sections-error.test
compress-debug-sections-default-gnu.test
compress-debug-sections-default.test
compress-debug-sections-groups.test
compress-debug-sections-invalid-format.test
compress-debug-sections-symbols.test
compress-debug-sections-zlib-gnu.test
compress-debug-sections-zlib-header.test
compress-debug-sections-zlib.test
compress-debug-sections.test
copy-after-strip-sections.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
copy-osabi.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
cross-arch-headers.test [Object] Use BFD name for little-endian PowerPC64 2020-04-19 20:10:05 -07:00
cross-arch-sections-symbols.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
deterministic-archive.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
discard-all-debug.test
discard-all.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
discard-locals-rel.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
discard-locals.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
discard-mix-local-and-all.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
drawf-fission.test
dump-section-before-add-remove.test [llvm-objcopy] Reorder --dump-section before --remove-section for ELF 2020-06-05 10:45:51 -07:00
dump-section.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
dynamic-relocations.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
dynamic.test
dynrelocsec-remove-shinfo-reference.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
dynrelocsec-remove-shlink-reference.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
dynstr.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
dynsym-error-remove-strtab.test
dynsym.test
elf32be.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
elf32le.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
elf64be.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
empty-section.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
error-format.test
explicit-keep-remove.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
explicit-only-section-remove.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
fail-no-output-directory.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
globalize.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
group-addr-misaligned.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
group-big-endian.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
group-reorder.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
group-unchanged.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
group.test [llvm-objcopy] Emit error if removing symtab referenced by group section 2020-06-29 10:42:03 +01:00
hexagon-unsupported-on-x86.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
identical-segments.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
ihex-reader.test
ihex-writer.test
input-output-target.test
invalid-e_phoff.test
invalid-e_shoff.test
invalid-p_filesz-p_offset.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
invalid-preserve-dates.test
keep-file-symbols.test Reland D76675 [llvm-objcopy] Match GNU behaviour regarding file symbols 2020-04-20 21:18:48 -07:00
keep-global-symbols-mix-globalize.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
keep-global-symbols.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
keep-many.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
keep-only-section.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
keep-symbol-remove-section.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
keep-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
linked-section.test
localize-hidden.test [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
localize.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
many-sections.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
marker-segment.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
mirror-permissions-unix.test
mirror-permissions-win.test
new-symbol-visibility.test
no-build-id-no-notes.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
no-build-id.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
no-strip-all.test
no-symbol-relocation.test [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
null-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
only-keep-debug.test [llvm-objcopy] --only-keep-debug: place zero-size segment according to its parent segment 2020-11-11 09:21:10 -08:00
only-section-many.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
only-section-remove-strtab.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
only-section-strip-non-alloc.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
only-section-strip-undefined.test [llvm-objcopy][test] Fix tests when path contains "bar" 2020-01-30 17:56:12 -08:00
overlap-chain.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
overlapping-sections-in-segments.test
overlapping-sections.test
parent-loop-check.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
partitions.test [llvm-readelf] Make --all output order closer to GNU readelf 2020-03-04 12:22:12 -08:00
prefix-alloc-sections-dynrelocsec.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
prefix-alloc-sections.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
prefix-symbols.test [tools][tests] - Use --check-prefixes instead of multiple --check-prefix. NFCI. 2020-04-17 12:35:25 +03:00
preserve-segment-contents-ehdr-phdrs.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
preserve-segment-contents.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
program-headers.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
pt-phdr.test
redefine-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
regex.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
reloc-error-remove-symtab.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
reloc-no-symtab.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
relocatable-phdr.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
relocations-no-symtab.test [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
remove-linked-section.test
remove-multiple-sections.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
remove-section-group.test [llvm-objcopy][ELF] Fix removing SHT_GROUP sections. 2020-05-29 20:24:53 +07:00
remove-section-in-group.test [llvm-objcopy][ELF] Fix removing a group member. 2020-05-29 20:24:53 +07:00
remove-section-in-segment.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
remove-section-with-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
remove-section.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
remove-shndx.test
remove-shstrtab-error.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
remove-symtab.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
rename-section-and-prefix-alloc-sections.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
rename-section-duplicate-names.test
rename-section-empty-string.test
rename-section-flag-osproc-mask.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
rename-section-flag-preserved.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
rename-section-flag.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
rename-section-multiple.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
rename-section.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
respect-umask.test
response-file.test
same-file-strip.test
section-index-unsupported.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
sectionless-segment.test
segment-shift-section-remove.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
segment-shift.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
segment-test-remove-section.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
set-section-alignment.test
set-section-flags-and-rename.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
set-section-flags-multiple.test [LLVM/tools][test] - Remove/fix dead check prefixes. 2020-04-15 13:09:51 +03:00
set-section-flags.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
shared-strtab-shstrtab.s Make test more robust 2020-04-06 14:47:05 +01:00
shstrtab-optimize.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
standard-streams.test
strict-no-add.test
strip-all-and-keep-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-all-and-remove.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-all-gnu.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
strip-all.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
strip-debug-and-remove.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-debug.test Reland D76675 [llvm-objcopy] Match GNU behaviour regarding file symbols 2020-04-20 21:18:48 -07:00
strip-dwo-groups.test [yaml2obj] - Stop using square brackets for unique suffixes. 2020-05-19 12:59:13 +03:00
strip-dwo-inplace.test
strip-group-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-multiple-files.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-non-alloc.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
strip-preserve-arm-attributes.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-preserve-atime.test Fix "last accessed time" test failing on Windows 2020-08-10 16:03:14 -04:00
strip-preserve-mtime.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-reloc-symbol.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-section-err.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-sections-keep.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-sections-only-section.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-sections.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
strip-symbol-and-relocation.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-symbol.test Revert D83834 "Add test utility 'extract'" 2020-07-28 13:26:33 -07:00
strip-unneeded-all-symbols.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-unneeded-remove-debug-keep-link.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strip-unneeded.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
strtab-optimize.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-copy.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-empty-name.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symtab-error-on-remove-strtab.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symtab-link.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
tail-merged-string-tables.test [llvm-objcopy][test] Fix tests when path contains "bar" 2020-01-30 17:56:12 -08:00
triple-overlap.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
two-seg-remove-end.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
two-seg-remove-first.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
two-seg-remove-third-sec.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
weaken-all.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
weaken.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
wildcard-flags.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
wildcard-syntax.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00