summaryrefslogtreecommitdiff
path: root/gas/subsegs.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-10-05 10:53:00 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-10-05 10:53:00 +0000
commitc08c96a4dcbb90efc24c8fea0f2a6ee98aeffd0b (patch)
tree8dbe7bfab220a814ab1212d5e55fac9a9bf54b11 /gas/subsegs.c
parent39559935fd5f4baa44b65590a6365ce4f6b92d52 (diff)
downloadbinutils-redhat-c08c96a4dcbb90efc24c8fea0f2a6ee98aeffd0b.tar.gz
* subsegs.c (subseg_text_p): Return 0 for absolute section.
* read.c (do_align): If in absolute section, warn about and ignore non-zero fill pattern.
Diffstat (limited to 'gas/subsegs.c')
-rw-r--r--gas/subsegs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/subsegs.c b/gas/subsegs.c
index f5a1022fdf..c8159531ef 100644
--- a/gas/subsegs.c
+++ b/gas/subsegs.c
@@ -587,7 +587,7 @@ subseg_text_p (sec)
#else /* ! BFD_ASSEMBLER */
const char * const *p;
- if (sec == data_section || sec == bss_section)
+ if (sec == data_section || sec == bss_section || sec == absolute_section)
return 0;
for (p = nontext_section_names; *p != NULL; ++p)