From e799a695210a55d1ed2a11b85a33a2523aa974e4 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 25 Apr 2000 10:02:20 +0000 Subject: [PATCH] Use record_alignment, not bfd_set_section_alignment. --- gas/ChangeLog | 5 +++++ gas/config/tc-mips.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index ddf73f1a990..c8978a5acad 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-04-25 Machida Hiroyuki + + * config/tc-mips.c (s_change_sec): Use record_alignment, not + bfd_set_section_alignment. + 2000-04-25 Alan Modra * config/tc-i386.c (offset_in_range): Ensure shift counts are less diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 5daf89d394f..bb7e22756ec 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -10045,7 +10045,7 @@ s_change_sec (sec) | SEC_RELOC | SEC_DATA)); if (strcmp (TARGET_OS, "elf") != 0) - bfd_set_section_alignment (stdoutput, seg, 4); + record_alignment (seg, 4); } demand_empty_rest_of_line (); } @@ -10067,7 +10067,7 @@ s_change_sec (sec) SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_DATA); if (strcmp (TARGET_OS, "elf") != 0) - bfd_set_section_alignment (stdoutput, seg, 4); + record_alignment (seg, 4); } demand_empty_rest_of_line (); break; -- 2.30.2