From 9e4b3a232971471552a92ef1d3a31b64e6577789 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 4 Dec 1995 23:11:02 +0000 Subject: [PATCH] * config/obj-coff.c (size_section, fill_section, fixup_mdeps): Treat rs_align_code like rs_align. --- gas/ChangeLog | 5 +++++ gas/config/obj-coff.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 84800ea35b5..928c33bcd1b 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +Mon Dec 4 15:10:53 1995 Ken Raeburn + + * 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 25dfbd417f1..cb36264033c 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); -- 2.30.2