From: Tristan Gingold Date: Mon, 18 Apr 2011 13:44:36 +0000 (+0000) Subject: 2011-04-18 Tristan Gingold X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=049c5eba3610d7dce1f931046008ddc7dbb89070;p=binutils-gdb.git 2011-04-18 Tristan Gingold * 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. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index fc73aee03e0..c0ca65a5413 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,15 @@ +2011-04-18 Tristan Gingold + + * 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 * lib/gas-defs.exp (get_standard_section_names): Add names for diff --git a/gas/testsuite/gas/macros/app1.d b/gas/testsuite/gas/macros/app1.d index 51ba9f2ba64..e7f7e1e4637 100644 --- a/gas/testsuite/gas/macros/app1.d +++ b/gas/testsuite/gas/macros/app1.d @@ -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 diff --git a/gas/testsuite/gas/macros/app1.s b/gas/testsuite/gas/macros/app1.s index fd63b8188af..5cc7a075b0c 100644 --- a/gas/testsuite/gas/macros/app1.s +++ b/gas/testsuite/gas/macros/app1.s @@ -1,10 +1,12 @@ #NO_APP .text .macro foo + .globl a a: .long 42 .endm #APP foo + .globl b b: .long 56 diff --git a/gas/testsuite/gas/macros/app2.d b/gas/testsuite/gas/macros/app2.d index d6e4ecba065..ef62e3a526c 100644 --- a/gas/testsuite/gas/macros/app2.d +++ b/gas/testsuite/gas/macros/app2.d @@ -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 diff --git a/gas/testsuite/gas/macros/app2.s b/gas/testsuite/gas/macros/app2.s index 7147bcaf51e..8f9222b2e0c 100644 --- a/gas/testsuite/gas/macros/app2.s +++ b/gas/testsuite/gas/macros/app2.s @@ -1,11 +1,13 @@ #NO_APP .text .macro foo + .globl a a: .long 42 .endm #APP foo + .globl b b: .long 56 #NO_APP diff --git a/gas/testsuite/gas/macros/app3.d b/gas/testsuite/gas/macros/app3.d index 671a2fa01e9..4be449c3fba 100644 --- a/gas/testsuite/gas/macros/app3.d +++ b/gas/testsuite/gas/macros/app3.d @@ -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 diff --git a/gas/testsuite/gas/macros/app3.s b/gas/testsuite/gas/macros/app3.s index 49d850c2615..7d950c5dd1b 100644 --- a/gas/testsuite/gas/macros/app3.s +++ b/gas/testsuite/gas/macros/app3.s @@ -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 diff --git a/gas/testsuite/gas/macros/app4.d b/gas/testsuite/gas/macros/app4.d index b28a17adba1..537a03b842e 100644 --- a/gas/testsuite/gas/macros/app4.d +++ b/gas/testsuite/gas/macros/app4.d @@ -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 diff --git a/gas/testsuite/gas/macros/app4.s b/gas/testsuite/gas/macros/app4.s index ca635bfa49b..1966514fe3d 100644 --- a/gas/testsuite/gas/macros/app4.s +++ b/gas/testsuite/gas/macros/app4.s @@ -1,9 +1,11 @@ .text .macro foo + .globl a a: .long 42 .endm .include "app4b.s" foo + .globl b b: .long 56 diff --git a/gas/testsuite/gas/macros/app4b.s b/gas/testsuite/gas/macros/app4b.s index 5b2e7af1140..45e6c4c3522 100644 --- a/gas/testsuite/gas/macros/app4b.s +++ b/gas/testsuite/gas/macros/app4b.s @@ -1,10 +1,12 @@ #NO_APP + .globl d d: .long 21 #APP .if 0 #NO_APP .err + .globl x x: #APP .endif