summaryrefslogtreecommitdiff
path: root/gas/config/tc-tic4x.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-11-06 05:51:17 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-11-06 05:51:17 +0000
commit0fd6ba5f6f11d27b086dcfd6e09152a5da3e2d34 (patch)
treef571ba0ee53aa185571d882838e1432a7146b056 /gas/config/tc-tic4x.c
parent1af0a55685a8206d65aa258aed5c2afa5d46aef4 (diff)
downloadbinutils-redhat-0fd6ba5f6f11d27b086dcfd6e09152a5da3e2d34.tar.gz
bfd/
* coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec, tic4x_coff1_vec, tic4x_coff1_beh_vec, tic4x_coff2_vec, tic4x_coff2_beh_vec): Allow SEC_CODE and SEC_READONLY in section flags. gas/ * config/tc-tic4x.c: Remove alignment TODO comments. (tic4x_do_align): Enable subseg_text_p test.
Diffstat (limited to 'gas/config/tc-tic4x.c')
-rw-r--r--gas/config/tc-tic4x.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c
index 1764b0bc43..dd21000b60 100644
--- a/gas/config/tc-tic4x.c
+++ b/gas/config/tc-tic4x.c
@@ -27,11 +27,6 @@
o .align cannot handle fill-data-width larger than 0xFF/8-bits. It
should be possible to define a 32-bits pattern.
- o .align fills all section with NOP's when used regardless if has
- been used in .text or .data. (However the .align is primarily
- intended used in .text sections. If you require something else,
- use .align <size>,0x00)
-
o .align: Implement a 'bu' insn if the number of nop's exceeds 4
within the align frag. if(fragsize>4words) insert bu fragend+1
first.
@@ -2966,9 +2961,7 @@ tic4x_do_align (int alignment,
{
if (fill == NULL)
{
- /* FIXME: subseg_text_p tests SEC_CODE which isn't in allowed
- section flags. See bfd/coff-tic4x.c target vecs. */
- if (1 || subseg_text_p (now_seg))
+ if (subseg_text_p (now_seg))
{
char nop[4];