From e01c5cce7578b375059e2de0f6f6f291af6505bc Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 6 Dec 2005 22:04:29 +0000 Subject: [PATCH] 2005-12-06 Paul Brook * m68k/bcc.ld: Add .text.*, .rodata.*, .data.* and .bss.*. * m68k/idp.ld: Ditto. * m68k/idpgdb: Ditto. * m68k/mvme135.ld: Ditto. * m68k/sbc5204.ld: Ditto. * m68k/sbc5206.ld: Ditto. * m68k/sim.ld: Ditto. --- libgloss/ChangeLog | 10 ++++++++++ libgloss/m68k/bcc.ld | 8 ++++---- libgloss/m68k/idp.ld | 8 ++++---- libgloss/m68k/idpgdb.ld | 8 ++++---- libgloss/m68k/mvme135.ld | 8 ++++---- libgloss/m68k/mvme162.ld | 8 ++++---- libgloss/m68k/sbc5204.ld | 8 ++++---- libgloss/m68k/sbc5206.ld | 8 ++++---- libgloss/m68k/sim.ld | 8 ++++---- 9 files changed, 42 insertions(+), 32 deletions(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 4d3c8914d..f2a6a6cf7 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,13 @@ +2005-12-06 Paul Brook + + * m68k/bcc.ld: Add .text.*, .rodata.*, .data.* and .bss.*. + * m68k/idp.ld: Ditto. + * m68k/idpgdb: Ditto. + * m68k/mvme135.ld: Ditto. + * m68k/sbc5204.ld: Ditto. + * m68k/sbc5206.ld: Ditto. + * m68k/sim.ld: Ditto. + 2005-11-30 Shaun Jackman * libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink. diff --git a/libgloss/m68k/bcc.ld b/libgloss/m68k/bcc.ld index 65f6441ef..562a79a3f 100644 --- a/libgloss/m68k/bcc.ld +++ b/libgloss/m68k/bcc.ld @@ -63,7 +63,7 @@ SECTIONS { .text : { - *(.text) + *(.text .text.*) . = ALIGN(0x4); __CTOR_LIST__ = .; ___CTOR_LIST__ = .; @@ -77,7 +77,7 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; - *(.rodata) + *(.rodata .rodata.*) *(.gcc_except_table) . = ALIGN(0x2); @@ -100,7 +100,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; diff --git a/libgloss/m68k/idp.ld b/libgloss/m68k/idp.ld index db6d8c56d..fca2809c7 100644 --- a/libgloss/m68k/idp.ld +++ b/libgloss/m68k/idp.ld @@ -77,7 +77,7 @@ SECTIONS .text : { CREATE_OBJECT_SYMBOLS - *(.text) + *(.text .text.*) . = ALIGN(0x4); /* These are for running static constructors and destructors under ELF. */ @@ -90,7 +90,7 @@ SECTIONS KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors)) - *(.rodata) + *(.rodata .rodata.*) . = ALIGN(0x4); *(.gcc_except_table) @@ -119,7 +119,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -128,7 +128,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; diff --git a/libgloss/m68k/idpgdb.ld b/libgloss/m68k/idpgdb.ld index 9d24e28cf..53b56b70c 100644 --- a/libgloss/m68k/idpgdb.ld +++ b/libgloss/m68k/idpgdb.ld @@ -77,7 +77,7 @@ SECTIONS .text : { CREATE_OBJECT_SYMBOLS - *(.text) + *(.text .text.*) . = ALIGN(0x4); /* These are for running static constructors and destructors under ELF. */ @@ -90,7 +90,7 @@ SECTIONS KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors)) - *(.rodata) + *(.rodata .rodata.*) . = ALIGN(0x4); *(.gcc_except_table) @@ -119,7 +119,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -128,7 +128,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; diff --git a/libgloss/m68k/mvme135.ld b/libgloss/m68k/mvme135.ld index dba0dbe23..8b6563005 100644 --- a/libgloss/m68k/mvme135.ld +++ b/libgloss/m68k/mvme135.ld @@ -64,7 +64,7 @@ SECTIONS { .text : { - *(.text) + *(.text .text.*) . = ALIGN(0x4); __CTOR_LIST__ = .; ___CTOR_LIST__ = .; @@ -78,7 +78,7 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; - *(.rodata) + *(.rodata .rodata.*) *(.gcc_except_table) . = ALIGN(0x2); @@ -101,7 +101,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -110,7 +110,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; diff --git a/libgloss/m68k/mvme162.ld b/libgloss/m68k/mvme162.ld index fd3ae1014..6d1bf875b 100644 --- a/libgloss/m68k/mvme162.ld +++ b/libgloss/m68k/mvme162.ld @@ -65,7 +65,7 @@ SECTIONS { .text : { - *(.text) + *(.text .text.*) . = ALIGN(0x4); __CTOR_LIST__ = .; ___CTOR_LIST__ = .; @@ -79,7 +79,7 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; - *(.rodata) + *(.rodata .rodata.*) *(.gcc_except_table) . = ALIGN(0x2); @@ -102,7 +102,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -111,7 +111,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; diff --git a/libgloss/m68k/sbc5204.ld b/libgloss/m68k/sbc5204.ld index 4570b0e18..f95f5a2d0 100644 --- a/libgloss/m68k/sbc5204.ld +++ b/libgloss/m68k/sbc5204.ld @@ -63,7 +63,7 @@ SECTIONS { .text : { - *(.text) + *(.text .text.*) . = ALIGN(0x4); __CTOR_LIST__ = .; ___CTOR_LIST__ = .; @@ -77,7 +77,7 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; - *(.rodata) + *(.rodata .rodata.*) *(.gcc_except_table) . = ALIGN(0x2); @@ -100,7 +100,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; diff --git a/libgloss/m68k/sbc5206.ld b/libgloss/m68k/sbc5206.ld index d082a08d1..aa24be169 100644 --- a/libgloss/m68k/sbc5206.ld +++ b/libgloss/m68k/sbc5206.ld @@ -63,7 +63,7 @@ SECTIONS { .text : { - *(.text) + *(.text .text.*) . = ALIGN(0x4); __CTOR_LIST__ = .; ___CTOR_LIST__ = .; @@ -77,7 +77,7 @@ SECTIONS *(.dtors) LONG(0) __DTOR_END__ = .; - *(.rodata) + *(.rodata .rodata.*) *(.gcc_except_table) . = ALIGN(0x2); @@ -100,7 +100,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -109,7 +109,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end; diff --git a/libgloss/m68k/sim.ld b/libgloss/m68k/sim.ld index b44fd07b3..edc049063 100644 --- a/libgloss/m68k/sim.ld +++ b/libgloss/m68k/sim.ld @@ -18,7 +18,7 @@ SECTIONS .text : { CREATE_OBJECT_SYMBOLS - *(.text) + *(.text .text.*) . = ALIGN(0x4); /* These are for running static constructors and destructors under ELF. */ @@ -31,7 +31,7 @@ SECTIONS KEEP (*(SORT(.dtors.*))) KEEP (*(.dtors)) - *(.rodata) + *(.rodata .rodata.*) . = ALIGN(0x4); *(.gcc_except_table) @@ -60,7 +60,7 @@ SECTIONS .data : { *(.shdata) - *(.data) + *(.data .data.*) _edata = .; } > ram @@ -69,7 +69,7 @@ SECTIONS . = ALIGN(0x4); __bss_start = . ; *(.shbss) - *(.bss) + *(.bss .bss.*) *(COMMON) _end = ALIGN (0x8); __end = _end;