From 831d7ac47c3cbcfb7dd635a18b3dfeaa58a0706d Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 16 Nov 1994 17:06:20 +0000 Subject: * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the text segment. --- ld/ChangeLog | 12 ++++++++++++ ld/scripttempl/hppaelf.sc | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 31b9ff0..e15b2f3 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,17 @@ +Wed Nov 16 10:03:03 1994 Jeff Law (law@snake.cs.utah.edu) + + * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the + text segment. + Sat Nov 12 15:55:56 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + Patches from Eric Youngdale : + * ldlang.c (lang_finish): Don't warn if entry symbol not found + when generating a shared library. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Warn if + attempting to place an orphaned relocation section when generating + a dynamically linked object. + * scripttempl/elf.sc: Add ENTRY(${ENTRY}), and default ${ENTRY} to _start. diff --git a/ld/scripttempl/hppaelf.sc b/ld/scripttempl/hppaelf.sc index 21b6085..53a55e5 100644 --- a/ld/scripttempl/hppaelf.sc +++ b/ld/scripttempl/hppaelf.sc @@ -3,7 +3,6 @@ OUTPUT_FORMAT("${OUTPUT_FORMAT}") OUTPUT_ARCH(${ARCH}) ENTRY("\$START\$") ${RELOCATING+${LIB_SEARCH_DIRS}} -${RELOCATING+___stack_zero = ABSOLUTE(0x2000);} SECTIONS { .text ${RELOCATING+${TEXT_START_ADDR}}: @@ -12,10 +11,11 @@ SECTIONS CREATE_OBJECT_SYMBOLS *(.PARISC.stubs) *(.text) + *(.PARISC.unwind) ${RELOCATING+etext = .}; ${RELOCATING+_etext = .}; } - .data ${RELOCATING+ 0x40000000 } : + .data 0x40000000 : { ${RELOCATING+ . = . + 0x1000 }; ${RELOCATING+__data_start = .}; @@ -24,7 +24,7 @@ SECTIONS ${RELOCATING+edata = .}; ${RELOCATING+_edata = .}; } - .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} : + .bss 0x40000000 ${RELOCATING++SIZEOF(.data)} : { *(.bss) *(COMMON) -- cgit v1.1