aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-07-09 12:09:59 +0930
committerAlan Modra <amodra@gmail.com>2018-07-09 17:27:35 +0930
commit61658d78f08920e6afe7b43bcaa287521da196aa (patch)
tree3ce84dc826fe46324fea43a5df58a5dfc041522d
parentf5a1cdde80a5cc5f1b86be7e94fb062d3fd4aca9 (diff)
downloadgdb-61658d78f08920e6afe7b43bcaa287521da196aa.zip
gdb-61658d78f08920e6afe7b43bcaa287521da196aa.tar.gz
gdb-61658d78f08920e6afe7b43bcaa287521da196aa.tar.bz2
m68hc1* fixes
With config.sub now properly returning m68hc12-unknown-elf rather than m68hc12-unknown-none, more ELF tests run. This patch enables STB_GNU_UNIQUE processing fixing some testsuite failures that probably no m68hc12 user cares about, and removes some XPASSes. bfd/ * elf32-m68hc1x.c (elf32_m68hc11_post_process_headers): Call _bfd_elf_post_process_headers. ld/ * testsuite/ld-discard/extern.d: Remove m68hc12 xfail. * testsuite/ld-discard/start.d: Likewise. * testsuite/ld-discard/static.d: Likewise.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-m68hc1x.c2
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/testsuite/ld-discard/extern.d1
-rw-r--r--ld/testsuite/ld-discard/start.d1
-rw-r--r--ld/testsuite/ld-discard/static.d1
6 files changed, 13 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 812b8bc..9a918bd 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-09 Alan Modra <amodra@gmail.com>
+
+ * elf32-m68hc1x.c (elf32_m68hc11_post_process_headers): Call
+ _bfd_elf_post_process_headers.
+
2018-07-06 Max Filippov <jcmvbkbc@gmail.com>
* elf32-xtensa.c (elf_xtensa_allocate_dynrelocs): Don't allocate
diff --git a/bfd/elf32-m68hc1x.c b/bfd/elf32-m68hc1x.c
index 35152ee..d411bd0 100644
--- a/bfd/elf32-m68hc1x.c
+++ b/bfd/elf32-m68hc1x.c
@@ -1456,6 +1456,8 @@ elf32_m68hc11_post_process_headers (bfd *abfd, struct bfd_link_info *link_info)
struct m68hc11_scan_param param;
struct m68hc11_elf_link_hash_table *htab;
+ _bfd_elf_post_process_headers (abfd, link_info);
+
if (link_info == NULL)
return;
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2d748f1..fe9724b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2018-07-09 Alan Modra <amodra@gmail.com>
+
+ * testsuite/ld-discard/extern.d: Remove m68hc12 xfail.
+ * testsuite/ld-discard/start.d: Likewise.
+ * testsuite/ld-discard/static.d: Likewise.
+
2018-07-09 Christophe Lyon <christophe.lyon@linaro.org>
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Use the right
diff --git a/ld/testsuite/ld-discard/extern.d b/ld/testsuite/ld-discard/extern.d
index 50112e4..a8d91fb 100644
--- a/ld/testsuite/ld-discard/extern.d
+++ b/ld/testsuite/ld-discard/extern.d
@@ -3,7 +3,6 @@
#error: .*data.* referenced in section `\.text' of tmpdir/extern.o: defined in discarded section `\.data\.exit' of tmpdir/extern.o
#objdump: -p
#xfail: d30v-*-* dlx-*-* pj*-*-*
-#xfail: m68hc12-*-* m6812-*-*
#pass
# The expected warning used to start with "`data' referenced..." but
# this has two problems: 1) It does not include the name of the linker
diff --git a/ld/testsuite/ld-discard/start.d b/ld/testsuite/ld-discard/start.d
index e8ce59d..fcb4e8f 100644
--- a/ld/testsuite/ld-discard/start.d
+++ b/ld/testsuite/ld-discard/start.d
@@ -4,5 +4,4 @@
#error: `data' referenced in section `\.text' of tmpdir/start.o: defined in discarded section `\.data\.exit' of tmpdir/exit.o
#objdump: -p
#xfail: d30v-*-* dlx-*-* pj*-*-*
-#xfail: m68hc12-*-* m6812-*-*
#pass
diff --git a/ld/testsuite/ld-discard/static.d b/ld/testsuite/ld-discard/static.d
index ebdbda8..c80fcde 100644
--- a/ld/testsuite/ld-discard/static.d
+++ b/ld/testsuite/ld-discard/static.d
@@ -3,5 +3,4 @@
#error: `(\.data\.exit|data)' referenced in section `\.text' of tmpdir/static.o: defined in discarded section `\.data\.exit' of tmpdir/static.o
#objdump: -p
#xfail: d30v-*-* dlx-*-* pj*-*-*
-#xfail: m68hc12-*-* m6812-*-*
#pass