-
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.
Add support for ARM assembler produced by CodeCompositor Studio.
* config/tc-arm.c (codecomposer_syntax): New flag that states whether the CCS syntax compatibility mode is on or off. (asmfunc_states): New enum to represent the asmfunc directive state. (asmfunc_state): New variable holding the asmfunc directive state. (comment_chars): Rename to arm_comment_chars. (line_separator_chars): Rename to arm_line_separator_chars. (s_ccs_ref): New function that handles the .ref directive. (asmfunc_debug): New function. (s_ccs_asmfunc): New function that handles the .asmfunc directive. (s_ccs_endasmfunc): New function that handles the .endasmfunc directive. (s_ccs_def): New function that handles the .def directive. (tc_start_label_without_colon): New function. (md_pseudo_table): Added new CCS directives. (arm_ccs_mode): New function that handles the -mccs command line option. (arm_long_opts): Added new -mccs command line option. * config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro. (TC_START_LABEL_WITHOUT_COLON): New macro. (tc_start_label_without_colon): Added extern function declaration. (tc_comment_chars): Define. (tc_line_separator_chars): Define. * app.c (do_scrub_begin): Use tc_line_separator_chars, if defined. * read.c (read_begin): Likewise. * doc/as.texinfo: Add documentation for the -mccs command line option. * doc/c-arm.texi: Likewise. * doc/internals.texi: Document tc_line_separator_chars. * NEWS: Mention the new feature. * gas/arm/ccs.s: New test case. * gas/arm/ccs.d: New expected disassembly.
- Loading branch information
1 parent
e571904
commit 2e6976a
Showing
12 changed files
with
289 additions
and
4 deletions.
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,34 @@ | ||
2014-03-19 Daniel Gutson <[email protected]>` | ||
Nick Clifton <[email protected]> | ||
|
||
* config/tc-arm.c (codecomposer_syntax): New flag that states whether the | ||
CCS syntax compatibility mode is on or off. | ||
(asmfunc_states): New enum to represent the asmfunc directive state. | ||
(asmfunc_state): New variable holding the asmfunc directive state. | ||
(comment_chars): Rename to arm_comment_chars. | ||
(line_separator_chars): Rename to arm_line_separator_chars. | ||
(s_ccs_ref): New function that handles the .ref directive. | ||
(asmfunc_debug): New function. | ||
(s_ccs_asmfunc): New function that handles the .asmfunc directive. | ||
(s_ccs_endasmfunc): New function that handles the .endasmfunc directive. | ||
(s_ccs_def): New function that handles the .def directive. | ||
(tc_start_label_without_colon): New function. | ||
(md_pseudo_table): Added new CCS directives. | ||
(arm_ccs_mode): New function that handles the -mccs command line option. | ||
(arm_long_opts): Added new -mccs command line option. | ||
* config/tc-arm.h (LABELS_WITHOUT_COLONS): New macro. | ||
(TC_START_LABEL_WITHOUT_COLON): New macro. | ||
(tc_start_label_without_colon): Added extern function declaration. | ||
(tc_comment_chars): Define. | ||
(tc_line_separator_chars): Define. | ||
* app.c (do_scrub_begin): Use tc_line_separator_chars, if defined. | ||
* read.c (read_begin): Likewise. | ||
* doc/as.texinfo: Add documentation for the -mccs command line | ||
option. | ||
* doc/c-arm.texi: Likewise. | ||
* doc/internals.texi: Document tc_line_separator_chars. | ||
* NEWS: Mention the new feature. | ||
|
||
2014-03-18 Jiong Wang <[email protected]> | ||
|
||
* config/tc-aarch64.c (aarch64_opts): Add new option | ||
|
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
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
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
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
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 @@ | ||
2014-03-19 Daniel Gutson <[email protected]>` | ||
Nick Clifton <[email protected]> | ||
|
||
* gas/arm/ccs.s: New test case. | ||
* gas/arm/ccs.d: New expected disassembly. | ||
|
||
2014-03-19 Nick Clifton <[email protected]> | ||
|
||
* gas/rx/mov.d: Update expected disassembly. | ||
|
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,25 @@ | ||
#objdump: -dr | ||
# as: -mccs -mcpu=cortex-r4 -mthumb | ||
|
||
.*: file format .*arm.* | ||
|
||
|
||
Disassembly of section \.text: | ||
|
||
00000000 <_test_func>: | ||
0: e92d5fff push {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr} | ||
4: e59fc018 ldr ip, \[pc, #24\] ; 24 <sym1> | ||
8: e59c0000 ldr r0, \[ip\] | ||
c: e3100008 tst r0, #8 | ||
10: 1a000000 bne 18 <aLabel> | ||
14: e59c0000 ldr r0, \[ip\] | ||
|
||
00000018 <aLabel>: | ||
18: eb...... bl . <ext_sy.*> | ||
18: .* ext_sy.* | ||
1c: e8bd5fff pop {r0, r1, r2, r3, r4, r5, r6, r7, r8, r9, sl, fp, ip, lr} | ||
20: e25ef008 subs pc, lr, #8 | ||
|
||
00000024 <sym1>: | ||
24: fffff520 .* | ||
#... |
Oops, something went wrong.