2011-04-18 Tristan Gingold <gingold@adacore.com>
* gas/macros/app1.s: Export symbol * gas/macros/app2.s: Ditto * gas/macros/app3.s: Ditto * gas/macros/app4.s: Ditto * gas/macros/app4b.s: Ditto * gas/macros/app1.d: Adjust. * gas/macros/app2.d: Ditto. * gas/macros/app3.d: Ditto. * gas/macros/app4.d: Ditto.
This commit is contained in:
parent
7b403836d7
commit
049c5eba36
10 changed files with 33 additions and 10 deletions
|
@ -1,3 +1,15 @@
|
|||
2011-04-18 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* gas/macros/app1.s: Export symbol
|
||||
* gas/macros/app2.s: Ditto
|
||||
* gas/macros/app3.s: Ditto
|
||||
* gas/macros/app4.s: Ditto
|
||||
* gas/macros/app4b.s: Ditto
|
||||
* gas/macros/app1.d: Adjust.
|
||||
* gas/macros/app2.d: Ditto.
|
||||
* gas/macros/app3.d: Ditto.
|
||||
* gas/macros/app4.d: Ditto.
|
||||
|
||||
2011-04-18 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* lib/gas-defs.exp (get_standard_section_names): Add names for
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#nm: -n
|
||||
#name: APP with macro without NO_APP
|
||||
#...
|
||||
0+ t a
|
||||
0+ T a
|
||||
#...
|
||||
0+[1-f] t b
|
||||
0+[1-f] T b
|
||||
#pass
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#NO_APP
|
||||
.text
|
||||
.macro foo
|
||||
.globl a
|
||||
a:
|
||||
.long 42
|
||||
.endm
|
||||
#APP
|
||||
foo
|
||||
.globl b
|
||||
b:
|
||||
.long 56
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#nm: -n
|
||||
#name: APP with macro then NO_APP
|
||||
#...
|
||||
0+ t a
|
||||
0+ T a
|
||||
#...
|
||||
0+[1-f] t b
|
||||
0+[1-f] T b
|
||||
#pass
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
#NO_APP
|
||||
.text
|
||||
.macro foo
|
||||
.globl a
|
||||
a:
|
||||
.long 42
|
||||
.endm
|
||||
#APP
|
||||
foo
|
||||
.globl b
|
||||
b:
|
||||
.long 56
|
||||
#NO_APP
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
#nm: -n
|
||||
#name: APP with macro then NO_APP then more code
|
||||
#...
|
||||
0+ t a
|
||||
0+ T a
|
||||
#...
|
||||
0+[1-f] t b
|
||||
0+[1-f] T b
|
||||
#...
|
||||
0+[2-f] t c
|
||||
0+[2-f] T c
|
||||
#pass
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
#NO_APP
|
||||
.text
|
||||
.macro foo
|
||||
.globl a
|
||||
a:
|
||||
.long 42
|
||||
.endm
|
||||
#APP
|
||||
foo
|
||||
.globl b
|
||||
b:
|
||||
.long 56
|
||||
#NO_APP
|
||||
.globl c
|
||||
c:
|
||||
.long 78
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
#nm: -n
|
||||
#name: included file with .if 0 wrapped in APP/NO_APP, no final NO_APP, macro in main file
|
||||
#...
|
||||
0+ t d
|
||||
0+ T d
|
||||
#...
|
||||
0+[1-f] t a
|
||||
0+[1-f] T a
|
||||
#...
|
||||
0+[2-f] t b
|
||||
0+[2-f] T b
|
||||
#pass
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
.text
|
||||
.macro foo
|
||||
.globl a
|
||||
a:
|
||||
.long 42
|
||||
.endm
|
||||
.include "app4b.s"
|
||||
foo
|
||||
.globl b
|
||||
b:
|
||||
.long 56
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#NO_APP
|
||||
.globl d
|
||||
d:
|
||||
.long 21
|
||||
#APP
|
||||
.if 0
|
||||
#NO_APP
|
||||
.err
|
||||
.globl x
|
||||
x:
|
||||
#APP
|
||||
.endif
|
||||
|
|
Loading…
Add table
Reference in a new issue