From 18f0961ed92322b5dd6378c0bb243714bd2075ae Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 21 Aug 1996 18:27:28 +0000 Subject: [PATCH] * scripttempl/elf.sc: Put .gnu.linkonce* sections in .text. --- ld/ChangeLog | 4 ++++ ld/scripttempl/elf.sc | 30 +++++++++++++++++++++++++----- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 38289685428..469c31b544b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Wed Aug 21 11:26:37 1996 Ian Lance Taylor + + * scripttempl/elf.sc: Put .gnu.linkonce* sections in .text. + Mon Aug 19 13:01:42 1996 Ian Lance Taylor * fnmatch.c: Include sysdep.h. diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index cbd8a11db75..665af8e1cae 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -23,13 +23,14 @@ test -z "$ENTRY" && ENTRY=_start test -z "${BIG_OUTPUT_FORMAT}" && BIG_OUTPUT_FORMAT=${OUTPUT_FORMAT} test -z "${LITTLE_OUTPUT_FORMAT}" && LITTLE_OUTPUT_FORMAT=${OUTPUT_FORMAT} +if [ -z "$MACHINE" ]; then OUTPUT_ARCH=${ARCH}; else OUTPUT_ARCH=${ARCH}:${MACHINE}; fi test "$LD_FLAG" = "N" && DATA_ADDR=. INTERP=".interp ${RELOCATING-0} : { *(.interp) }" PLT=".plt ${RELOCATING-0} : { *(.plt) }" cat <