From: Jeff Law Date: Wed, 16 Nov 1994 17:06:20 +0000 (+0000) Subject: * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=831d7ac47c3cbcfb7dd635a18b3dfeaa58a0706d;p=binutils-gdb.git * scripttempl/hppaelf.sc (.text): Place unwind descriptors in the text segment. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 31b9ff03dd8..e15b2f3c9ae 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 21b6085a4ec..53a55e53a73 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)