diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-12-12 14:41:15 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-12-12 14:41:15 -0800 |
commit | 57b828ef364b3cce05d9fb35be758cb4530e0e12 (patch) | |
tree | 51bfcdcc47a95c1cb2569937a11dc76290d9d7f9 /binutils/testsuite/binutils-all | |
parent | 84b66498ef56905eb8ec15b94f3f06ddad978234 (diff) | |
download | gdb-57b828ef364b3cce05d9fb35be758cb4530e0e12.zip gdb-57b828ef364b3cce05d9fb35be758cb4530e0e12.tar.gz gdb-57b828ef364b3cce05d9fb35be758cb4530e0e12.tar.bz2 |
Also copy EI_OSABI field
bfd/
PR binutils/16318
* elf.c (_bfd_elf_copy_private_bfd_data): Remove BFD_ASSERT.
Set e_flags only if elf_flags_init is FALSE. Copy EI_OSABI
field.
binutils/testsuite/
PR binutils/16318
* binutils-all/strip-10.d: Check OS/ABI.
Diffstat (limited to 'binutils/testsuite/binutils-all')
-rw-r--r-- | binutils/testsuite/binutils-all/strip-10.d | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/testsuite/binutils-all/strip-10.d b/binutils/testsuite/binutils-all/strip-10.d index 588c7d1..f4cf76d 100644 --- a/binutils/testsuite/binutils-all/strip-10.d +++ b/binutils/testsuite/binutils-all/strip-10.d @@ -1,8 +1,10 @@ #PROG: strip #source: unique.s #strip: -g -#readelf: -s +#readelf: -sh #name: strip on STB_GNU_UNIQUE #... + OS/ABI:[ \t]+UNIX - GNU +#... +[0-9]+: +[0-9a-f]+ +[0-9]+ +OBJECT +(UNIQUE|<OS specific>: 10) +DEFAULT +[1-9] foo |