diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2005-02-07 03:16:43 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2005-02-07 03:16:43 +0000 |
commit | 00de87cddb9276c8c22399790bd381b0559e673d (patch) | |
tree | 6b0da1fd324eed8f8940cde55df42246658e36fe | |
parent | aaac53f5a1cd577c14197f1271304b3ff48fadfa (diff) | |
download | gdb-00de87cddb9276c8c22399790bd381b0559e673d.zip gdb-00de87cddb9276c8c22399790bd381b0559e673d.tar.gz gdb-00de87cddb9276c8c22399790bd381b0559e673d.tar.bz2 |
* ld-cris/globsymw2.s: New file.
* ld-cris/warn3.d, ld-cris/warn4.d: New tests.
-rw-r--r-- | ld/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/globsymw2.s | 16 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/warn3.d | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-cris/warn4.d | 13 |
4 files changed, 42 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 030c65f..c73d4a0 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2005-02-07 Hans-Peter Nilsson <hp@axis.com> + * ld-cris/globsymw2.s: New file. + * ld-cris/warn3.d, ld-cris/warn4.d: New tests. + * ld-discard/extern.d, ld-discard/start.d, ld-discard/static.d: Adjust for being identified as warnings. diff --git a/ld/testsuite/ld-cris/globsymw2.s b/ld/testsuite/ld-cris/globsymw2.s new file mode 100644 index 0000000..a9e11ff --- /dev/null +++ b/ld/testsuite/ld-cris/globsymw2.s @@ -0,0 +1,16 @@ + .text + .stabn 162,0,0,0 +;# A bit like globsymw1.s but containing a valid, working, stabs +;# symbol warning construct. + .stabs "isatty is not implemented and will always fail",30,0,0,0 + .stabs "globsym1",1,0,0,0 + .global globsym1 + .type globsym1, @function +globsym1: + .stabd 46,0,0 + .stabn 68,0,16,LM0-globsym1 +LM0: + .long 0 + .size globsym1, .-globsym1 + .stabs "",100,0,0,Letext0 +Letext0: diff --git a/ld/testsuite/ld-cris/warn3.d b/ld/testsuite/ld-cris/warn3.d new file mode 100644 index 0000000..c01b6cb --- /dev/null +++ b/ld/testsuite/ld-cris/warn3.d @@ -0,0 +1,10 @@ +#source: start1.s +#source: globsym1ref.s +#source: globsymw2.s +#target: cris-*-*elf* cris-*-*aout* +#as: --em=crisaout +#ld: -mcrisaout +#warning: warning: isatty is not implemented and will always fail$ +#objdump: -p +.*: file format a\.out-cris +#pass diff --git a/ld/testsuite/ld-cris/warn4.d b/ld/testsuite/ld-cris/warn4.d new file mode 100644 index 0000000..dc096b6 --- /dev/null +++ b/ld/testsuite/ld-cris/warn4.d @@ -0,0 +1,13 @@ +#source: start1.s +#source: globsym1ref.s +#source: globsymw2.s +#target: cris-*-*elf* cris-*-*aout* +#as: --em=criself +#ld: -mcriself +#warning: warning: isatty is not implemented and will always fail$ +#objdump: -p +#xfail: *-*-* +# The test is xfailed because ELF stabs doesn't handle the stabs +# warning construct. +.*: file format elf32.*-cris +#pass |