diff options
author | Alan Modra <amodra@gmail.com> | 2000-05-03 04:25:33 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-05-03 04:25:33 +0000 |
commit | da5d444c29c85d0d9b394d913b97b1a9e9418995 (patch) | |
tree | 592b854acbbd48673f53f2b71dcac44400808e0f | |
parent | 02240683a51805269b8f2900e51e600b79ae2a43 (diff) | |
download | gdb-da5d444c29c85d0d9b394d913b97b1a9e9418995.zip gdb-da5d444c29c85d0d9b394d913b97b1a9e9418995.tar.gz gdb-da5d444c29c85d0d9b394d913b97b1a9e9418995.tar.bz2 |
go32 bss alignment.
-rw-r--r-- | bfd/ChangeLog | 6 | ||||
-rw-r--r-- | bfd/coff-go32.c | 2 | ||||
-rw-r--r-- | bfd/coff-stgo32.c | 2 | ||||
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.h | 1 |
5 files changed, 16 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 10112b2..31db2ae 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2000-05-03 Mark Elbrecht <snowball3@bigfoot.com> + + * bfd/coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Add entry for + the .bss section. + * bfd/coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Likewise. + 2000-05-02 H.J. Lu <hjl@gnu.org> * elf.c (prep_headers): USe ELFOSABI_NONE instead of diff --git a/bfd/coff-go32.c b/bfd/coff-go32.c index a6b28e1..720f4be 100644 --- a/bfd/coff-go32.c +++ b/bfd/coff-go32.c @@ -29,6 +29,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ { COFF_SECTION_NAME_EXACT_MATCH (".text"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ +{ COFF_SECTION_NAME_EXACT_MATCH (".bss"), \ + COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.d"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ { COFF_SECTION_NAME_PARTIAL_MATCH (".gnu.linkonce.t"), \ diff --git a/bfd/coff-stgo32.c b/bfd/coff-stgo32.c index 26dba40..45e7d62 100644 --- a/bfd/coff-stgo32.c +++ b/bfd/coff-stgo32.c @@ -46,6 +46,8 @@ { COFF_SECTION_NAME_EXACT_MATCH (".data"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ { COFF_SECTION_NAME_EXACT_MATCH (".text"), \ + COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \ +{ COFF_SECTION_NAME_EXACT_MATCH (".bss"), \ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 } #include "bfd.h" diff --git a/gas/ChangeLog b/gas/ChangeLog index f59311f..4586107 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-05-03 Mark Elbrecht <snowball3@bigfoot.com> + + * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4 + for the .bss section too. + 2000-05-02 Alan Modra <alan@linuxcare.com.au> * configure.in: Set em=linux for hppa-*-linux. diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h index 1d830ee..2bf9a7f 100644 --- a/gas/config/tc-i386.h +++ b/gas/config/tc-i386.h @@ -120,6 +120,7 @@ extern int tc_coff_sizemachdep PARAMS ((fragS *frag)); #define SUB_SEGMENT_ALIGN(SEG) \ ((strcmp (obj_segment_name (SEG), ".text") == 0 \ || strcmp (obj_segment_name (SEG), ".data") == 0 \ + || strcmp (obj_segment_name (SEG), ".bss") == 0 \ || strncmp (obj_segment_name (SEG), ".gnu.linkonce.t", 15) == 0 \ || strncmp (obj_segment_name (SEG), ".gnu.linkonce.d", 15) == 0 \ || strncmp (obj_segment_name (SEG), ".gnu.linkonce.r", 15) == 0) \ |