aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-05-16 08:22:59 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2016-05-16 13:31:20 +0100
commit71de341392d18d7951b5a00fe68b6309e2dfbb47 (patch)
tree39c1fd0b116141b81fe4464dd96181cd93cd06f9 /binutils
parent7b14583ef0c858dc8f29c127f70b034f7f5d4ad2 (diff)
downloadgdb-71de341392d18d7951b5a00fe68b6309e2dfbb47.zip
gdb-71de341392d18d7951b5a00fe68b6309e2dfbb47.tar.gz
gdb-71de341392d18d7951b5a00fe68b6309e2dfbb47.tar.bz2
V850/BFD: Call `_bfd_elf_copy_private_bfd_data' again
Correct a regression introduced with commit 685080f21003 ("Adds support for generating notes in V850 binaries.") which replaced rather than extending the call to `_bfd_elf_copy_private_bfd_data' with `v850_elf_copy_private_bfd_data'. Consequently ELFOSABI_GNU marking is not propagated to output by `objcopy' from objects containing STB_GNU_UNIQUE symbols. bfd/ * elf32-v850.c (v850_elf_copy_notes): New function, factored out from... (v850_elf_copy_private_bfd_data): ... here. Call the new function and `_bfd_elf_copy_private_bfd_data'. binutils/ * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10' test for the V850.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp2
2 files changed, 5 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 9170c00..57802e8 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
+
+ * testsuite/binutils-all/objcopy.exp: Don't skip the `strip-10'
+ test for the V850.
+
2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
* readelf.c (print_mips_ases): Add DSPR3.
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index c348578..176764a 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -1061,11 +1061,9 @@ if [is_elf_format] {
run_dump_test "strip-9"
run_dump_test "strip-12"
# Non-EABI ARM targets will set OSABI to ARM
- # The V850 sets the OSABI to UNIX - System V
if { ![istarget "*-*-hpux*"]
&& ![istarget "msp*-*-*"]
&& ![istarget "visium-*-*"]
- && ![istarget "v850*-*-*"]
&& !([istarget "arm*-*-*"] && ![istarget "arm-*-*eabi*"])} {
run_dump_test "strip-10"
}