-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* macro.c (macro_expand_body): Do not treat LOCAL as a keyword in altmacro mode if found inside a quoted string. * gas/macros/altmacro.s: New test. * gas/macros/altmacro.d: Expected output.
- Loading branch information
1 parent
1c07cc1
commit aa27de9
Showing
5 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
2010-04-20 Nick Clifton <[email protected]> | ||
|
||
PR gas/11507 | ||
* macro.c (macro_expand_body): Do not treat LOCAL as a keyword in | ||
altmacro mode if found inside a quoted string. | ||
|
||
2010-04-20 Mike Frysinger <[email protected]> | ||
|
||
* config/bfin-lex.l (parse_int): Change index() to strchr(). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
2010-04-20 Nick Clifton <[email protected]> | ||
|
||
PR gas/11507 | ||
* gas/macros/altmacro.s: New test. | ||
* gas/macros/altmacro.d: Expected output. | ||
|
||
2010-04-16 Nick Clifton <[email protected]> | ||
|
||
PR gas/11395 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
local | ||
.LL0001 | ||
.LL0002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Check use of LOCAL directive inside .altmacro. | ||
# Test derived from PR 11507. | ||
|
||
.altmacro | ||
|
||
.macro ABC | ||
.print "local " | ||
.endm | ||
|
||
.macro DEF | ||
LOCAL fred | ||
.print "fred" | ||
.endm | ||
|
||
# This one is just being perverse, but it should work. | ||
.macro GHI | ||
local local | ||
.print "local" | ||
.endm | ||
|
||
|
||
ABC | ||
|
||
DEF | ||
|
||
GHI |