* ld-cris/globsymw2.s: New file.

* ld-cris/warn3.d, ld-cris/warn4.d: New tests.
This commit is contained in:
Hans-Peter Nilsson
2005-02-07 03:16:43 +00:00
parent aaac53f5a1
commit 00de87cddb
4 changed files with 42 additions and 0 deletions

View File

@ -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.

View File

@ -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:

View File

@ -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

View File

@ -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