From cd1d4f83e73e16e656c952bd14001f105fc4d412 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 8 Nov 1994 22:57:13 +0000 Subject: [PATCH] Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com) * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and .rela.fini to the list of .rel* sections. --- ld/ChangeLog | 5 +++++ ld/scripttempl/elf.sc | 40 ++++++++++++++++++++++++++++++---------- 2 files changed, 35 insertions(+), 10 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index a8768fb1c43..119e7e8e09d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 8 17:50:43 1994 Eric Youngdale (eric@aib.com) + + * scripttempl/elf.sc: Add .rel.init, .rela.init, .rel.fini, and + .rela.fini to the list of .rel* sections. + Tue Nov 8 17:47:45 1994 Ian Lance Taylor * ldlang.c (load_symbols): Add new argument place. Only accept diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index 29fa99163d9..6775f0ccffc 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -20,10 +20,14 @@ # When adding sections, do note that the names of some sections are used # when specifying the start address of the next. # +test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT} +test -z "${LITTLE_OUTPUT_FORMAT}" && LITTLE_OUTPUT_FORMAT=${OUTPUT_FORMAT} +test "$LD_FLAG" = "N" && DATA_ADDR=. INTERP=".interp ${RELOCATING-0} : { *(.interp) }" PLT=".plt ${RELOCATING-0} : { *(.plt) }" cat <