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:
		| @@ -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.' | ||||||
|   | |||||||
| @@ -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. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user