aboutsummaryrefslogtreecommitdiff
path: root/gas/write.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-05-13 01:23:51 +0000
committerAlan Modra <amodra@gmail.com>2002-05-13 01:23:51 +0000
commit50b3122815f91cd459f573ea2fd5c5ba0581f51f (patch)
tree447566a5c09cb3301f3489f411da0083b11a60df /gas/write.c
parentdf763c7f5b199a8e14fefc35fb94ba7ea3b5a875 (diff)
downloadgdb-50b3122815f91cd459f573ea2fd5c5ba0581f51f.zip
gdb-50b3122815f91cd459f573ea2fd5c5ba0581f51f.tar.gz
gdb-50b3122815f91cd459f573ea2fd5c5ba0581f51f.tar.bz2
* write.c (subsegs_finish): Don't specially align last subseg.
Diffstat (limited to 'gas/write.c')
-rw-r--r--gas/write.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/gas/write.c b/gas/write.c
index 5d5e4c9..8d08674 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -1441,12 +1441,6 @@ subsegs_finish ()
if we are generating a listing. */
alignment = had_errors () ? 0 : SUB_SEGMENT_ALIGN (now_seg);
- /* The last subsegment gets an aligment corresponding to the
- alignment of the section. This allows proper nop-filling
- at the end of code-bearing sections. */
- if (!frchainP->frch_next || frchainP->frch_next->frch_seg != now_seg)
- alignment = get_recorded_alignment (now_seg);
-
if (subseg_text_p (now_seg))
frag_align_code (alignment, 0);
else