From 4f6fbb1acd6ecf01001ce0a746fc4ee7040ca6c5 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 21 Aug 2001 22:39:47 +0000 Subject: [PATCH] * coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0. * coff-stgo32.c: Likewise. --- bfd/ChangeLog | 3 ++- bfd/coff-go32.c | 2 ++ bfd/coff-stgo32.c | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3bc5324..12a6b3f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,6 +1,7 @@ 2001-08-21 Mark Elbrecht - * coff-go32.c: Make DWARF2 sections use an alignment of 0. + * coff-go32.c: Make DWARF2 sections use an alignment of 0. Set + the alignment of dwarf2 linkonce sections to 0. * coff-sto32.c: Likewise. 2001-08-20 Andreas Jaeger diff --git a/bfd/coff-go32.c b/bfd/coff-go32.c index 8e00ea8..146e3a3 100644 --- a/bfd/coff-go32.c +++ b/bfd/coff-go32.c @@ -38,6 +38,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.r"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ { COFF_SECTION_NAME_PARTIAL_MATCH (".debug"), \ + COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 }, \ +{ COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.wi"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 } #include "coff-i386.c" diff --git a/bfd/coff-stgo32.c b/bfd/coff-stgo32.c index 4236eee..a77fc37 100644 --- a/bfd/coff-stgo32.c +++ b/bfd/coff-stgo32.c @@ -49,6 +49,8 @@ { COFF_SECTION_NAME_EXACT_MATCH (".text"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ { COFF_SECTION_NAME_PARTIAL_MATCH (".debug"), \ + COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 } \ +{ COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.wi"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 0 } #include "bfd.h" -- 2.7.4