aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-coff.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 84800ea..928c33b 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Mon Dec 4 15:10:53 1995 Ken Raeburn <raeburn@cygnus.com>
+
+ * config/obj-coff.c (size_section, fill_section, fixup_mdeps):
+ Treat rs_align_code like rs_align.
+
Sun Dec 3 16:46:54 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
* config/tc-arm.c (cp_address_required_here): Set pre_inc when
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);