diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-03-01 18:53:03 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-03-01 18:53:42 +0100 |
commit | c259196b5005812aa3294dbf4eeca29b266a4522 (patch) | |
tree | 05195ae1b2e826cc3ba42f09913e3a923f6ba6e9 /resource | |
parent | 928b305d3f6773b6a8cd1202da4f7d5d9a654456 (diff) | |
download | glibc-c259196b5005812aa3294dbf4eeca29b266a4522.tar glibc-c259196b5005812aa3294dbf4eeca29b266a4522.tar.gz glibc-c259196b5005812aa3294dbf4eeca29b266a4522.tar.bz2 glibc-c259196b5005812aa3294dbf4eeca29b266a4522.zip |
elf/tst-big-note: Improve accuracy of test [BZ #20419]
It is possible that the link editor injects an allocated ABI tag note
before the artificial, allocated large note in the test. Note parsing
in open_verify stops when the first ABI tag note is encountered, so if
the ABI tag note comes first, the problematic code is not actually
exercised.
Also tweak the artificial note so that it is a syntactically valid
4-byte aligned note, in case the link editor tries to parse notes and
process them.
Improves the testing part of commit 0065aaaaae51cd60210ec3a7e13.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'resource')
0 files changed, 0 insertions, 0 deletions