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>
* mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'

View File

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