From f8d72310066c1a0544d3ce213255946020797a9b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 23 May 2007 16:22:27 +0000 Subject: [PATCH] * m68k/fido.sc (.data): Move .jcr to .text. Catch .got.plt and .got. --- libgloss/ChangeLog | 5 +++++ libgloss/m68k/fido.sc | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 8f05be8d0..58dcce372 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2007-05-23 Kazu Hirata + + * m68k/fido.sc (.data): Move .jcr to .text. Catch .got.plt + and .got. + 2007-05-07 Patrick Mansfield * spu/open.c: Unconditionally set the "mode" to fix a bug where diff --git a/libgloss/m68k/fido.sc b/libgloss/m68k/fido.sc index 99c2014ce..6d7f503ab 100644 --- a/libgloss/m68k/fido.sc +++ b/libgloss/m68k/fido.sc @@ -156,6 +156,11 @@ SECTIONS { KEEP (*(SORT(.dtors.*))) KEEP (*crtend.o(.dtors)) + . = ALIGN(0x4); + KEEP (*crtbegin.o(.jcr)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr)) + KEEP (*crtend.o(.jcr)) + *(.rodata .rodata.*) *(.gnu.linkonce.r.*) *(.gcc_except_table) @@ -187,7 +192,7 @@ SECTIONS { .data : { _data = .; - KEEP (*(.jcr)); + *(.got.plt) *(.got) *(.shdata); *(.data .data.*) *(.gnu.linkonce.d.*)