2001-08-30 Richard Henderson <rth@redhat.com>

Eric Christopher  <echristo@redhat.com>

	* mips/idt.ld: Rewrite for .init/.fini sections.
This commit is contained in:
Eric Christopher 2001-08-31 19:22:51 +00:00
parent 5ac73dfead
commit d9204f54e1
2 changed files with 61 additions and 50 deletions

View File

@ -1,3 +1,8 @@
2001-08-30 Richard Henderson <rth@redhat.com>
Eric Christopher <echristo@redhat.com>
* mips/idt.ld: Rewrite for .init/.fini sections.
2001-08-22 Jonathan Larmour <jlarmour@redhat.com> 2001-08-22 Jonathan Larmour <jlarmour@redhat.com>
* mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.' * mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'

View File

@ -31,20 +31,26 @@ SECTIONS
. = 0xA0020000; . = 0xA0020000;
.text : { .text : {
_ftext = . ; _ftext = . ;
*(.init) PROVIDE (eprol = .);
eprol = .;
*(.text) *(.text)
*(.text.*) *(.text.*)
*(.gnu.linkonce.t*) *(.gnu.linkonce.t*)
*(.mips16.fn.*) *(.mips16.fn.*)
*(.mips16.call.*) *(.mips16.call.*)
}
.init : {
*(.init)
}
.fini : {
*(.fini)
}
.rel.sdata : {
PROVIDE (__runtime_reloc_start = .); PROVIDE (__runtime_reloc_start = .);
*(.rel.sdata) *(.rel.sdata)
PROVIDE (__runtime_reloc_stop = .); PROVIDE (__runtime_reloc_stop = .);
*(.fini)
etext = .;
_etext = .;
} }
PROVIDE (etext = .);
_etext = .;
.ctors : .ctors :
{ {
@ -106,7 +112,7 @@ SECTIONS
*(.gnu.linkonce.s*) *(.gnu.linkonce.s*)
} }
. = ALIGN(4); . = ALIGN(4);
edata = .; PROVIDE (edata = .);
_edata = .; _edata = .;
_fbss = .; _fbss = .;
.sbss : { .sbss : {
@ -119,7 +125,7 @@ SECTIONS
*(COMMON) *(COMMON)
} }
end = .; PROVIDE (end = .);
_end = .; _end = .;
/* DWARF debug sections. /* DWARF debug sections.