diff options
author | Alan Modra <amodra@gmail.com> | 2015-08-17 09:05:42 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2015-08-17 09:05:54 +0930 |
commit | db2ed2e0b910376fd2bf4c2bc5d626315c4269c6 (patch) | |
tree | 32b3a8f0135cffb393366209f58905386c69b287 /gas/read.c | |
parent | 1762568fd6bd84f1b1a488375cf320a1efa06b22 (diff) | |
download | gdb-db2ed2e0b910376fd2bf4c2bc5d626315c4269c6.zip gdb-db2ed2e0b910376fd2bf4c2bc5d626315c4269c6.tar.gz gdb-db2ed2e0b910376fd2bf4c2bc5d626315c4269c6.tar.bz2 |
Rationalize ARM .align
* gas/config/tc-arm.c (s_align): Delete.
(md_pseudo_table): Use s_align_ptwo for "align".
* gas/config/tc-arm.h (TC_ALIGN_ZERO_IS_DEFAULT): Define.
* read.c (s_align): Modify for TC_ALIGN_ZERO_IS_DEFAULT.
Diffstat (limited to 'gas/read.c')
-rw-r--r-- | gas/read.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1471,6 +1471,11 @@ s_align (int arg, int bytes_p) { align = get_absolute_expression (); SKIP_WHITESPACE (); + +#ifdef TC_ALIGN_ZERO_IS_DEFAULT + if (arg > 0 && align == 0) + align = arg; +#endif } if (bytes_p) |