diff options
author | Nick Clifton <nickc@redhat.com> | 2010-01-13 14:08:54 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-01-13 14:08:54 +0000 |
commit | 52b010e4424ced5700579389375a536b614f8b19 (patch) | |
tree | 67dca4c0f96d271dfa9bf01d4ff329419763f674 /gas/testsuite | |
parent | 11db68fd8df09b071049208a7e7b64e3b1cb8946 (diff) | |
download | ppe42-binutils-52b010e4424ced5700579389375a536b614f8b19.tar.gz ppe42-binutils-52b010e4424ced5700579389375a536b614f8b19.zip |
* 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 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/elf.exp | 12 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section0.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section1.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section6.d | 3 |
5 files changed, 27 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index ad7eb57675..2fafd115df 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2010-01-13 Nick Clifton <nickc@redhat.com> + + * 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. + 2010-01-06 Quentin Neill <quentin.neill@amd.com> * gas/i386/i386.exp: Add new amdfam15 test cases. diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index e65d2cfa10..05b5a4b98f 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -126,10 +126,18 @@ if { ([istarget "*-*-*elf*"] } run_dump_test "section0" run_dump_test "section1" - run_elf_list_test "section2" "$target_machine" "-al" "-s" "" + if {! [istarget "h8300-*-*"]} then { + # The h8300 port issues a warning message for + # new sections created without atrributes. + run_elf_list_test "section2" "$target_machine" "-al" "-s" "" + } run_dump_test "section3" run_dump_test "section4" - run_elf_list_test "section5" "" "-al" "-SW" "| grep \" \\\\.test\\\[0-9\\\]\"" + if {! [istarget "h8300-*-*"]} then { + # The h8300 port issues a warning message for + # new sections created without atrributes. + run_elf_list_test "section5" "" "-al" "-SW" "| grep \" \\\\.test\\\[0-9\\\]\"" + } run_dump_test "struct" run_dump_test "symtab" run_dump_test "symver" diff --git a/gas/testsuite/gas/elf/section0.d b/gas/testsuite/gas/elf/section0.d index 6978d0a23d..be1d547d5e 100644 --- a/gas/testsuite/gas/elf/section0.d +++ b/gas/testsuite/gas/elf/section0.d @@ -1,5 +1,8 @@ #objdump: -s #name: elf section0 +# The h8300 port issues a warning message for +# new sections created without atrributes. +#skip: h8300-* .*: +file format .* diff --git a/gas/testsuite/gas/elf/section1.d b/gas/testsuite/gas/elf/section1.d index c6b7fd4827..b02a9e427e 100644 --- a/gas/testsuite/gas/elf/section1.d +++ b/gas/testsuite/gas/elf/section1.d @@ -1,5 +1,8 @@ #objdump: -s #name: elf section1 +# The h8300 port issues a warning message for +# new sections created without atrributes. +#skip: h8300-* .*: +file format .* diff --git a/gas/testsuite/gas/elf/section6.d b/gas/testsuite/gas/elf/section6.d index e8e0a66a16..c42d95c2aa 100644 --- a/gas/testsuite/gas/elf/section6.d +++ b/gas/testsuite/gas/elf/section6.d @@ -1,5 +1,8 @@ #objdump: -s #name: elf section6 +# The h8300 port issues a warning message for +# new sections created without atrributes. +#skip: h8300-* .*: +file format .* |