From 267a3ab363902a42edc2a0daadd19cdcfdc81b4d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 8 Jan 1994 01:01:23 +0000 Subject: * scripttempl/elf.c: Define __bss_start before the .sbss section. --- ld/scripttempl/elf.sc | 73 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 60 insertions(+), 13 deletions(-) (limited to 'ld/scripttempl') diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index 2e75875..a6f9302 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -1,36 +1,83 @@ +# +# Unusual variables checked by this code: +# NOP - two byte opcode for no-op (defaults to 0) +# DATA_ADDR - if end-of-text-plus-one-page isn't right for data start +# OTHER_READONLY_SECTIONS - other than .text .init .ctors .rodata ... +# (e.g., .PARISC.milli) +# OTHER_READWRITE_SECTIONS - other than .data .bss .sdata ... +# (e.g., .PARISC.global) +# EXECUTABLE_SYMBOLS - symbols that must be defined for an +# executable (e.g., _DYNAMIC_LINK) +# +# When adding sections, do note that the names of some sections are used +# when specifying the start address of the next. +# cat <