aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-10-17 15:29:43 +0100
committerNick Clifton <nickc@redhat.com>2016-10-17 15:29:43 +0100
commit1449284bd80db7bb4cbe7fef21e1e8b753135af6 (patch)
treea461da98064c62b6c8ef71992a79161cb14a744b /binutils/testsuite
parentdecf5bd1570be3de10aeab99869a9548d17b1354 (diff)
downloadgdb-1449284bd80db7bb4cbe7fef21e1e8b753135af6.zip
gdb-1449284bd80db7bb4cbe7fef21e1e8b753135af6.tar.gz
gdb-1449284bd80db7bb4cbe7fef21e1e8b753135af6.tar.bz2
Display unknown notes. Decode NT_GNU_HWCAP notes.
* readelf.c (apply_relocations): Fail if the symbol table section linked to by the reloc section does not have either the SHT_SYMTAB or SHT_DYNSYM type. (print_gnu_note): Decode the contents of NT_GNU_HWCAP notes. Print the contents of unknown note types. (process_note): Add the file and section to the parameter list. Use print_symbol to display the note name. Display the contents of unknown note types. (process_corefile_note_segment): Rename to process_notes_at. Add section parameter. Apply relocations to the notes when loading from a section. Display section name when processing notes in a section. * testsuite/binutils-all/readelf.n: Update expected output.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/binutils-all/readelf.n2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/testsuite/binutils-all/readelf.n b/binutils/testsuite/binutils-all/readelf.n
index 7a44731..9c0f828 100644
--- a/binutils/testsuite/binutils-all/readelf.n
+++ b/binutils/testsuite/binutils-all/readelf.n
@@ -1,5 +1,5 @@
-Displaying notes found at file offset 0x0*0.. with length 0x0*018:
+Displaying notes found in: \.note
Owner[ ]*Data size[ ]*Description
Version 1.0[ ]*0x0*0[ ]*NT_VERSION \(version\)
#pass