aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-12-04 23:11:02 +0000
committerKen Raeburn <raeburn@cygnus>1995-12-04 23:11:02 +0000
commit9e4b3a232971471552a92ef1d3a31b64e6577789 (patch)
treeb0c27bb458145ef74b8358e0598036346959ecca /gas/config
parent55cac92082c7d16f531da393584ac3528549f692 (diff)
downloadgdb-9e4b3a232971471552a92ef1d3a31b64e6577789.zip
gdb-9e4b3a232971471552a92ef1d3a31b64e6577789.tar.gz
gdb-9e4b3a232971471552a92ef1d3a31b64e6577789.tar.bz2
* config/obj-coff.c (size_section, fill_section, fixup_mdeps): Treat
rs_align_code like rs_align.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/obj-coff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index 25dfbd4..cb36264 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -1550,6 +1550,7 @@ size_section (abfd, idx)
size += frag->fr_offset * frag->fr_var;
break;
case rs_align:
+ case rs_align_code:
size += frag->fr_fix;
size += relax_align (size, frag->fr_offset);
break;
@@ -1801,6 +1802,7 @@ fill_section (abfd, h, file_cursor)
assert (frag->fr_symbol == 0);
case rs_fill:
case rs_align:
+ case rs_align_code:
case rs_org:
if (frag->fr_fix)
{
@@ -3618,6 +3620,7 @@ fixup_mdeps (frags, h, this_segment)
switch (frags->fr_type)
{
case rs_align:
+ case rs_align_code:
case rs_org:
#ifdef HANDLE_ALIGN
HANDLE_ALIGN (frags);