aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-13 21:19:00 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-13 21:19:00 +0000
commit5c800455bf7f27ad0e11e896f4bf44eeff29c829 (patch)
treeaa998ddddf2fd63df1d110465c4f0e594b96a8ed /gas/write.c
parent2e00287afc8c04370edc4d5efa8eec044f59288c (diff)
downloadgdb-5c800455bf7f27ad0e11e896f4bf44eeff29c829.zip
gdb-5c800455bf7f27ad0e11e896f4bf44eeff29c829.tar.gz
gdb-5c800455bf7f27ad0e11e896f4bf44eeff29c829.tar.bz2
* frags.c (frag_align): Handle absolute_section.
* write.c (record_alignment): Likewise.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/write.c b/gas/write.c
index 1191079..ed6f0cb 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -305,6 +305,8 @@ record_alignment (seg, align)
boundary, etc.) */
int align;
{
+ if (seg == absolute_section)
+ return;
#ifdef BFD_ASSEMBLER
if (align > bfd_get_section_alignment (stdoutput, seg))
bfd_set_section_alignment (stdoutput, seg, align);