aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-01-13 14:08:54 +0000
committerNick Clifton <nickc@redhat.com>2010-01-13 14:08:54 +0000
commit52b010e4424ced5700579389375a536b614f8b19 (patch)
tree67dca4c0f96d271dfa9bf01d4ff329419763f674 /ld/testsuite
parent11db68fd8df09b071049208a7e7b64e3b1cb8946 (diff)
downloadgdb-52b010e4424ced5700579389375a536b614f8b19.zip
gdb-52b010e4424ced5700579389375a536b614f8b19.tar.gz
gdb-52b010e4424ced5700579389375a536b614f8b19.tar.bz2
* config/tc-h8300.c (h8300_elf_section): New function - issue a
warning message if a new section is created without setting any attributes for it. (md_pseudo_table): Intercept section creation pseudos. (md_pcrel_from): Replace abort with an error message. * config/obj-elf.c (obj_elf_section_name): Export this function. * config/obj-elf.h (obj_elf_section_name): Prototype. * gas/elf/section0.d: Skip this test for the h8300. * gas/elf/section1.d: Likewise. * gas/elf/section6.d: Likewise. * gas/elf/elf.exp: Skip section2 and section5 tests when the target is the h8300. * ld-scrips/sort.exp: Skip these tests when the target is the h8300.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-scripts/sort.exp6
2 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 51783a6..dbd6fc1 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-13 Nick Clifton <nickc@redhat.com>
+
+ * ld-scrips/sort.exp: Skip these tests when the target is the
+ h8300.
+
2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
PR ld/11146
diff --git a/ld/testsuite/ld-scripts/sort.exp b/ld/testsuite/ld-scripts/sort.exp
index 412f107..47950a7 100644
--- a/ld/testsuite/ld-scripts/sort.exp
+++ b/ld/testsuite/ld-scripts/sort.exp
@@ -25,6 +25,12 @@ if ![is_elf_format] {
return
}
+# The h8300 port issues a warning message for
+# new sections created without atrributes.
+if [istarget "h8300-*-*"] {
+ return
+}
+
load_lib ld-lib.exp
set sort_test_list [lsort [glob -nocomplain $srcdir/$subdir/sort*.d]]