This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Update on the GNU linker bug


Mn-Key: GCC

Hi,

I have verified that diffs-941022.gz, aka binutils 2.5.1, broke the
ELF GNU linker under i486-linuxelf. It is still broken as of
Oct. 26.

For those Linux users who compile binutils yourself, please use
binutils 2.5 plus the following patch only if you want to use
ELF.

-- 
H.J. Lu
NYNEX Science and Technology, Inc.			hjl@nynexst.com
-----
*** ld/scripttempl/elf.sc.orig	Tue Sep 27 11:42:33 1994
--- ld/scripttempl/elf.sc	Sat Oct 15 08:53:00 1994
***************
*** 55,60 ****
--- 55,64 ----
    .rela.rodata ${RELOCATING-0} : { *(.rela.rodata) 	}
    .rel.got     ${RELOCATING-0} : { *(.rel.got)		}
    .rela.got    ${RELOCATING-0} : { *(.rela.got)		}
+   .rel.ctors   ${RELOCATING-0} : { *(.rel.ctors)	}
+   .rela.ctors  ${RELOCATING-0} : { *(.rela.ctors)	}
+   .rel.dtors   ${RELOCATING-0} : { *(.rel.dtors)	}
+   .rela.dtors  ${RELOCATING-0} : { *(.rela.dtors)	}
    .rel.bss     ${RELOCATING-0} : { *(.rel.bss)		}
    .rela.bss    ${RELOCATING-0} : { *(.rela.bss)		}
    .rel.plt     ${RELOCATING-0} : { *(.rel.plt)		}