diff options
author | Alan Modra <amodra@gmail.com> | 2001-10-05 10:53:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-10-05 10:53:00 +0000 |
commit | ebeb92533bfee1f2e820f86116a140ad2ad26ba4 (patch) | |
tree | d6d6df6dd606077ce831d7a95c84d130fd20fa64 /gas/read.c | |
parent | 7dc8f5ceeca255c8f31ae2bc090749baf14d4d64 (diff) | |
download | gdb-ebeb92533bfee1f2e820f86116a140ad2ad26ba4.zip gdb-ebeb92533bfee1f2e820f86116a140ad2ad26ba4.tar.gz gdb-ebeb92533bfee1f2e820f86116a140ad2ad26ba4.tar.bz2 |
* 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/read.c')
-rw-r--r-- | gas/read.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1162,6 +1162,19 @@ do_align (n, fill, len, max) int len; int max; { + if (now_seg == absolute_section) + { + if (fill != NULL) + while (len-- > 0) + if (*fill++ != '\0') + { + as_warn (_("ignoring fill value in absolute section")); + break; + } + fill = NULL; + len = 0; + } + #ifdef md_do_align md_do_align (n, fill, len, max, just_record_alignment); #endif |