2020-01-01 08:57:01 +01:00
|
|
|
# Copyright (C) 2014-2020 Free Software Foundation, Inc.
|
2017-10-12 12:58:30 +02:00
|
|
|
#
|
2014-08-20 11:34:58 +02:00
|
|
|
# Copying and distribution of this file, with or without modification,
|
|
|
|
# are permitted in any medium without royalty provided the copyright
|
|
|
|
# notice and this notice are preserved.
|
2000-06-19 03:22:44 +02:00
|
|
|
#
|
|
|
|
# Unusual variables checked by this code:
|
2001-08-17 11:51:08 +02:00
|
|
|
# NOP - four byte opcode for no-op (defaults to 0)
|
2000-06-19 03:22:44 +02:00
|
|
|
# DATA_ADDR - if end-of-text-plus-one-page isn't right for data start
|
|
|
|
# OTHER_READWRITE_SECTIONS - other than .data .bss .ctors .sdata ...
|
|
|
|
# (e.g., .PARISC.global)
|
|
|
|
# OTHER_SECTIONS - at the end
|
|
|
|
# EXECUTABLE_SYMBOLS - symbols that must be defined for an
|
|
|
|
# executable (e.g., _DYNAMIC_LINK)
|
|
|
|
# TEXT_START_SYMBOLS - symbols that appear at the start of the
|
|
|
|
# .text section.
|
|
|
|
# DATA_START_SYMBOLS - symbols that appear at the start of the
|
|
|
|
# .data section.
|
|
|
|
# OTHER_BSS_SYMBOLS - symbols that appear at the start of the
|
|
|
|
# .bss section besides __bss_start.
|
2017-10-12 12:58:30 +02:00
|
|
|
# EMBEDDED - whether this is for an embedded system.
|
2000-06-19 03:22:44 +02:00
|
|
|
#
|
|
|
|
# When adding sections, do note that the names of some sections are used
|
|
|
|
# when specifying the start address of the next.
|
2014-08-20 11:34:58 +02:00
|
|
|
|
2000-06-19 03:22:44 +02:00
|
|
|
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=.
|
|
|
|
|
2017-10-12 12:58:30 +02:00
|
|
|
CTOR=".ctors ${CONSTRUCTING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
2001-08-03 22:41:26 +02:00
|
|
|
${CONSTRUCTING+ PROVIDE (__CTOR_LIST__ = .); }
|
2000-06-19 03:22:44 +02:00
|
|
|
${CONSTRUCTING+${CTOR_START}}
|
2003-07-23 21:33:20 +02:00
|
|
|
KEEP (*(.ctors))
|
2000-06-19 03:22:44 +02:00
|
|
|
|
|
|
|
${CONSTRUCTING+${CTOR_END}}
|
2001-08-03 22:41:26 +02:00
|
|
|
${CONSTRUCTING+ PROVIDE(__CTOR_END__ = .); }
|
2001-11-25 18:29:27 +01:00
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}"
|
2000-06-19 03:22:44 +02:00
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
DTOR=" .dtors ${CONSTRUCTING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
2001-08-03 22:41:26 +02:00
|
|
|
${CONSTRUCTING+ PROVIDE(__DTOR_LIST__ = .); }
|
2003-07-23 21:33:20 +02:00
|
|
|
KEEP (*(.dtors))
|
2001-08-03 22:41:26 +02:00
|
|
|
${CONSTRUCTING+ PROVIDE(__DTOR_END__ = .); }
|
2001-11-25 18:29:27 +01:00
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}"
|
2000-06-19 03:22:44 +02:00
|
|
|
|
|
|
|
|
|
|
|
VECTORS="
|
|
|
|
/* If the 'vectors_addr' symbol is defined, it indicates the start address
|
|
|
|
of interrupt vectors. This depends on the 68HC11 operating mode:
|
|
|
|
|
|
|
|
Addr
|
|
|
|
Single chip 0xffc0
|
|
|
|
Extended mode 0xffc0
|
|
|
|
Bootstrap 0x00c0
|
|
|
|
Test 0xbfc0
|
|
|
|
|
2017-10-12 12:58:30 +02:00
|
|
|
In general, the vectors address is 0xffc0. This can be overriden
|
2000-06-19 03:22:44 +02:00
|
|
|
with the '-defsym vectors_addr=0xbfc0' ld option.
|
|
|
|
|
|
|
|
Note: for the bootstrap mode, the interrupt vectors are at 0xbfc0 but
|
|
|
|
they are redirected to 0x00c0 by the internal PROM. Application's vectors
|
|
|
|
must also consist of jump instructions (see Motorola's manual). */
|
|
|
|
|
|
|
|
PROVIDE (_vectors_addr = DEFINED (vectors_addr) ? vectors_addr : 0xffc0);
|
|
|
|
.vectors DEFINED (vectors_addr) ? vectors_addr : 0xffc0 :
|
|
|
|
{
|
2002-10-13 11:29:35 +02:00
|
|
|
KEEP (*(.vectors))
|
2000-06-19 03:22:44 +02:00
|
|
|
}"
|
|
|
|
|
|
|
|
#
|
|
|
|
# We provide two emulations: a fixed on that defines some memory banks
|
|
|
|
# and a configurable one that includes a user provided memory definition.
|
|
|
|
#
|
|
|
|
case $GENERIC_BOARD in
|
|
|
|
yes|1|YES)
|
|
|
|
MEMORY_DEF="
|
|
|
|
/* Get memory banks definition from some user configuration file.
|
|
|
|
This file must be located in some linker directory (search path
|
|
|
|
with -L<dir>). See fixed memory banks emulation script. */
|
|
|
|
INCLUDE memory.x;
|
|
|
|
"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
MEMORY_DEF="
|
|
|
|
/* Fixed definition of the available memory banks.
|
|
|
|
See generic emulation script for a user defined configuration. */
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
page0 (rwx) : ORIGIN = 0x0, LENGTH = 256
|
|
|
|
text (rx) : ORIGIN = ${ROM_START_ADDR}, LENGTH = ${ROM_SIZE}
|
|
|
|
data : ORIGIN = ${RAM_START_ADDR}, LENGTH = ${RAM_SIZE}
|
2002-06-29 12:33:45 +02:00
|
|
|
eeprom : ORIGIN = ${EEPROM_START_ADDR}, LENGTH = ${EEPROM_SIZE}
|
2000-06-19 03:22:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Setup the stack on the top of the data memory bank. */
|
|
|
|
PROVIDE (_stack = ${RAM_START_ADDR} + ${RAM_SIZE} - 1);
|
|
|
|
"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
|
|
|
STARTUP_CODE="
|
|
|
|
/* Startup code. */
|
2002-10-13 11:29:35 +02:00
|
|
|
KEEP (*(.install0)) /* Section should setup the stack pointer. */
|
|
|
|
KEEP (*(.install1)) /* Place holder for applications. */
|
|
|
|
KEEP (*(.install2)) /* Optional installation of data sections in RAM. */
|
|
|
|
KEEP (*(.install3)) /* Place holder for applications. */
|
|
|
|
KEEP (*(.install4)) /* Section that calls the main. */
|
2000-06-19 03:22:44 +02:00
|
|
|
"
|
|
|
|
|
2001-08-03 22:41:26 +02:00
|
|
|
FINISH_CODE="
|
|
|
|
/* Finish code. */
|
2002-10-13 11:29:35 +02:00
|
|
|
KEEP (*(.fini0)) /* Beginning of finish code (_exit symbol). */
|
|
|
|
KEEP (*(.fini1)) /* Place holder for applications. */
|
|
|
|
KEEP (*(.fini2)) /* C++ destructors. */
|
|
|
|
KEEP (*(.fini3)) /* Place holder for applications. */
|
|
|
|
KEEP (*(.fini4)) /* Runtime exit. */
|
2001-08-03 22:41:26 +02:00
|
|
|
"
|
|
|
|
|
2000-06-19 03:22:44 +02:00
|
|
|
PRE_COMPUTE_DATA_SIZE="
|
|
|
|
/* SCz: this does not work yet... This is supposed to force the loading
|
|
|
|
of _map_data.o (from libgcc.a) when the .data section is not empty.
|
|
|
|
By doing so, this should bring the code that copies the .data section
|
|
|
|
from ROM to RAM at init time.
|
|
|
|
|
|
|
|
___pre_comp_data_size = SIZEOF(.data);
|
|
|
|
__install_data_sections = ___pre_comp_data_size > 0 ?
|
|
|
|
__map_data_sections : 0;
|
|
|
|
*/
|
|
|
|
"
|
|
|
|
|
|
|
|
INSTALL_RELOC="
|
2009-10-10 06:34:39 +02:00
|
|
|
.install0 0 : { *(.install0) }
|
|
|
|
.install1 0 : { *(.install1) }
|
|
|
|
.install2 0 : { *(.install2) }
|
|
|
|
.install3 0 : { *(.install3) }
|
|
|
|
.install4 0 : { *(.install4) }
|
2000-06-19 03:22:44 +02:00
|
|
|
"
|
|
|
|
|
2001-08-03 22:41:26 +02:00
|
|
|
FINISH_RELOC="
|
2009-10-10 06:34:39 +02:00
|
|
|
.fini0 0 : { *(.fini0) }
|
|
|
|
.fini1 0 : { *(.fini1) }
|
|
|
|
.fini2 0 : { *(.fini2) }
|
|
|
|
.fini3 0 : { *(.fini3) }
|
|
|
|
.fini4 0 : { *(.fini4) }
|
2001-08-03 22:41:26 +02:00
|
|
|
"
|
|
|
|
|
2000-06-19 03:22:44 +02:00
|
|
|
BSS_DATA_RELOC="
|
2009-10-10 06:34:39 +02:00
|
|
|
.data1 0 : { *(.data1) }
|
2000-06-19 03:22:44 +02:00
|
|
|
|
|
|
|
/* We want the small data sections together, so single-instruction offsets
|
|
|
|
can access them all, and initialized data all before uninitialized, so
|
|
|
|
we can shorten the on-disk segment size. */
|
2009-10-10 06:34:39 +02:00
|
|
|
.sdata 0 : { *(.sdata) }
|
|
|
|
.sbss 0 : { *(.sbss) }
|
|
|
|
.scommon 0 : { *(.scommon) }
|
2000-06-19 03:22:44 +02:00
|
|
|
"
|
|
|
|
|
2002-06-29 12:33:45 +02:00
|
|
|
SOFT_REGS_RELOC="
|
2009-10-10 06:34:39 +02:00
|
|
|
.softregs 0 : { *(.softregs) }
|
2002-06-29 12:33:45 +02:00
|
|
|
"
|
|
|
|
|
2000-06-19 03:22:44 +02:00
|
|
|
cat <<EOF
|
2020-01-01 08:57:01 +01:00
|
|
|
/* Copyright (C) 2014-2020 Free Software Foundation, Inc.
|
2014-08-20 11:34:58 +02:00
|
|
|
|
|
|
|
Copying and distribution of this script, with or without modification,
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
notice and this notice are preserved. */
|
|
|
|
|
2000-06-19 03:22:44 +02:00
|
|
|
${RELOCATING+/* Linker script for 68HC11 executable (PROM). */}
|
|
|
|
${RELOCATING-/* Linker script for 68HC11 object file (ld -r). */}
|
|
|
|
|
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}", "${BIG_OUTPUT_FORMAT}",
|
|
|
|
"${LITTLE_OUTPUT_FORMAT}")
|
|
|
|
OUTPUT_ARCH(${OUTPUT_ARCH})
|
2008-02-18 15:53:44 +01:00
|
|
|
${RELOCATING+ENTRY(${ENTRY})}
|
2000-06-19 03:22:44 +02:00
|
|
|
|
|
|
|
${RELOCATING+${LIB_SEARCH_DIRS}}
|
|
|
|
${RELOCATING+${EXECUTABLE_SYMBOLS}}
|
|
|
|
${RELOCATING+${MEMORY_DEF}}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2009-10-10 06:34:39 +02:00
|
|
|
.hash ${RELOCATING-0} : { *(.hash) }
|
|
|
|
.dynsym ${RELOCATING-0} : { *(.dynsym) }
|
|
|
|
.dynstr ${RELOCATING-0} : { *(.dynstr) }
|
|
|
|
.gnu.version ${RELOCATING-0} : { *(.gnu.version) }
|
|
|
|
.gnu.version_d ${RELOCATING-0} : { *(.gnu.version_d) }
|
|
|
|
.gnu.version_r ${RELOCATING-0} : { *(.gnu.version_r) }
|
|
|
|
|
|
|
|
.rel.text ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rel.text)
|
|
|
|
${RELOCATING+*(.rel.text.*)}
|
|
|
|
${RELOCATING+*(.rel.gnu.linkonce.t.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rela.text ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rela.text)
|
|
|
|
${RELOCATING+*(.rela.text.*)}
|
|
|
|
${RELOCATING+*(.rela.gnu.linkonce.t.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rel.data ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rel.data)
|
|
|
|
${RELOCATING+*(.rel.data.*)}
|
|
|
|
${RELOCATING+*(.rel.gnu.linkonce.d.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rela.data ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rela.data)
|
|
|
|
${RELOCATING+*(.rela.data.*)}
|
|
|
|
${RELOCATING+*(.rela.gnu.linkonce.d.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rel.rodata ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rel.rodata)
|
|
|
|
${RELOCATING+*(.rel.rodata.*)}
|
|
|
|
${RELOCATING+*(.rel.gnu.linkonce.r.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rela.rodata ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rela.rodata)
|
|
|
|
${RELOCATING+*(.rela.rodata.*)}
|
|
|
|
${RELOCATING+*(.rela.gnu.linkonce.r.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rel.sdata ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rel.sdata)
|
|
|
|
${RELOCATING+*(.rel.sdata.*)}
|
|
|
|
${RELOCATING+*(.rel.gnu.linkonce.s.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rela.sdata ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rela.sdata)
|
|
|
|
${RELOCATING+*(.rela.sdata.*)}
|
|
|
|
${RELOCATING+*(.rela.gnu.linkonce.s.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rel.sbss ${RELOCATING-0} :
|
2017-10-12 12:58:30 +02:00
|
|
|
{
|
2001-08-03 22:41:26 +02:00
|
|
|
*(.rel.sbss)
|
|
|
|
${RELOCATING+*(.rel.sbss.*)}
|
|
|
|
${RELOCATING+*(.rel.gnu.linkonce.sb.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rela.sbss ${RELOCATING-0} :
|
2001-08-03 22:41:26 +02:00
|
|
|
{
|
|
|
|
*(.rela.sbss)
|
|
|
|
${RELOCATING+*(.rela.sbss.*)}
|
|
|
|
${RELOCATING+*(.rel.gnu.linkonce.sb.*)}
|
|
|
|
}
|
2017-10-12 12:58:30 +02:00
|
|
|
.rel.bss ${RELOCATING-0} :
|
|
|
|
{
|
2001-08-03 22:41:26 +02:00
|
|
|
*(.rel.bss)
|
|
|
|
${RELOCATING+*(.rel.bss.*)}
|
|
|
|
${RELOCATING+*(.rel.gnu.linkonce.b.*)}
|
|
|
|
}
|
2017-10-12 12:58:30 +02:00
|
|
|
.rela.bss ${RELOCATING-0} :
|
|
|
|
{
|
2001-08-03 22:41:26 +02:00
|
|
|
*(.rela.bss)
|
|
|
|
${RELOCATING+*(.rela.bss.*)}
|
|
|
|
${RELOCATING+*(.rela.gnu.linkonce.b.*)}
|
|
|
|
}
|
2009-10-10 06:34:39 +02:00
|
|
|
.rel.stext ${RELOCATING-0} : { *(.rel.stest) }
|
|
|
|
.rela.stext ${RELOCATING-0} : { *(.rela.stest) }
|
|
|
|
.rel.etext ${RELOCATING-0} : { *(.rel.etest) }
|
|
|
|
.rela.etext ${RELOCATING-0} : { *(.rela.etest) }
|
|
|
|
.rel.sdata ${RELOCATING-0} : { *(.rel.sdata) }
|
|
|
|
.rela.sdata ${RELOCATING-0} : { *(.rela.sdata) }
|
|
|
|
.rel.edata ${RELOCATING-0} : { *(.rel.edata) }
|
|
|
|
.rela.edata ${RELOCATING-0} : { *(.rela.edata) }
|
|
|
|
.rel.eit_v ${RELOCATING-0} : { *(.rel.eit_v) }
|
|
|
|
.rela.eit_v ${RELOCATING-0} : { *(.rela.eit_v) }
|
|
|
|
.rel.ebss ${RELOCATING-0} : { *(.rel.ebss) }
|
|
|
|
.rela.ebss ${RELOCATING-0} : { *(.rela.ebss) }
|
|
|
|
.rel.srodata ${RELOCATING-0} : { *(.rel.srodata) }
|
|
|
|
.rela.srodata ${RELOCATING-0} : { *(.rela.srodata) }
|
|
|
|
.rel.erodata ${RELOCATING-0} : { *(.rel.erodata) }
|
|
|
|
.rela.erodata ${RELOCATING-0} : { *(.rela.erodata) }
|
|
|
|
.rel.got ${RELOCATING-0} : { *(.rel.got) }
|
|
|
|
.rela.got ${RELOCATING-0} : { *(.rela.got) }
|
|
|
|
.rel.ctors ${RELOCATING-0} : { *(.rel.ctors) }
|
|
|
|
.rela.ctors ${RELOCATING-0} : { *(.rela.ctors) }
|
|
|
|
.rel.dtors ${RELOCATING-0} : { *(.rel.dtors) }
|
|
|
|
.rela.dtors ${RELOCATING-0} : { *(.rela.dtors) }
|
|
|
|
.rel.init ${RELOCATING-0} : { *(.rel.init) }
|
|
|
|
.rela.init ${RELOCATING-0} : { *(.rela.init) }
|
|
|
|
.rel.fini ${RELOCATING-0} : { *(.rel.fini) }
|
|
|
|
.rela.fini ${RELOCATING-0} : { *(.rela.fini) }
|
|
|
|
.rel.plt ${RELOCATING-0} : { *(.rel.plt) }
|
|
|
|
.rela.plt ${RELOCATING-0} : { *(.rela.plt) }
|
2000-06-19 03:22:44 +02:00
|
|
|
|
|
|
|
/* Concatenate .page0 sections. Put them in the page0 memory bank
|
|
|
|
unless we are creating a relocatable file. */
|
|
|
|
.page0 :
|
|
|
|
{
|
|
|
|
*(.page0)
|
2002-06-29 12:33:45 +02:00
|
|
|
${RELOCATING+*(.softregs)}
|
2000-06-19 03:22:44 +02:00
|
|
|
} ${RELOCATING+ > page0}
|
|
|
|
|
|
|
|
/* Start of text section. */
|
2017-10-12 12:58:30 +02:00
|
|
|
.stext ${RELOCATING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
|
|
|
*(.stext)
|
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}
|
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.init ${RELOCATING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
Add SORT_NONE to .init and .fini in scripts
The special case for .init and .fini in update_wild_statements is
ineffective for .init or .fini wildcards inside other output sections.
The special case needs to be on the wildcard, not the output section.
This patch is belt and braces, both fixing update_wild_statements and
the scripts.
* scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
* scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
* scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
* scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
* scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
* scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
* scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
* scripttempl/ft32.sc, * scripttempl/i386beos.sc,
* scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
* scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
* scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
* scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
* scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
* scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
SORT_NONE to .init and .fini wildcards.
* scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc,
* scripttempl/elf32xc16xs.sc: Add .fini wildcard.
* scripttempl/elf_chaos.sc: Add .init output section.
* scripttempl/elfd30v.sc: Remove duplicate .init.
* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
* scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
duplicate .init, and add .fini wildcard.
* scripttempl/ppcpe.sc (INIT, FINI): Delete.
* ldlang.c (update_wild_statements): Special case .init and
.fini in the wildcard, not the output section.
2019-03-21 05:28:35 +01:00
|
|
|
KEEP (*(SORT_NONE(.init)))
|
2000-06-19 03:22:44 +02:00
|
|
|
} ${RELOCATING+=${NOP-0}}
|
|
|
|
|
|
|
|
${RELOCATING-${INSTALL_RELOC}}
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING-${FINISH_RELOC}}
|
2000-06-19 03:22:44 +02:00
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.text ${RELOCATING-0}:
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
|
|
|
/* Put startup code at beginning so that _start keeps same address. */
|
|
|
|
${RELOCATING+${STARTUP_CODE}}
|
|
|
|
|
|
|
|
*(.text)
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING+*(.text.*)}
|
2019-09-10 04:57:29 +02:00
|
|
|
/* .gnu.warning sections are handled specially by elf.em. */
|
2000-06-19 03:22:44 +02:00
|
|
|
*(.gnu.warning)
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING+*(.gnu.linkonce.t.*)}
|
2003-07-23 21:33:20 +02:00
|
|
|
${RELOCATING+*(.tramp)}
|
|
|
|
${RELOCATING+*(.tramp.*)}
|
2001-08-03 22:41:26 +02:00
|
|
|
|
Add SORT_NONE to .init and .fini in scripts
The special case for .init and .fini in update_wild_statements is
ineffective for .init or .fini wildcards inside other output sections.
The special case needs to be on the wildcard, not the output section.
This patch is belt and braces, both fixing update_wild_statements and
the scripts.
* scripttempl/alpha.sc, * scripttempl/armbpabi.sc,
* scripttempl/crisaout.sc, * scripttempl/elf32cr16.sc,
* scripttempl/elf32crx.sc, * scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
* scripttempl/elfd30v.sc, * scripttempl/elfm68hc11.sc,
* scripttempl/elfm68hc12.sc, * scripttempl/elfm9s12z.sc,
* scripttempl/elfmicroblaze.sc, * scripttempl/elfxgate.sc,
* scripttempl/elfxtensa.sc, * scripttempl/epiphany_4x4.sc,
* scripttempl/ft32.sc, * scripttempl/i386beos.sc,
* scripttempl/iq2000.sc, * scripttempl/mcorepe.sc,
* scripttempl/mep.sc, * scripttempl/mips.sc, * scripttempl/moxie.sc,
* scripttempl/pe.sc, * scripttempl/pep.sc, * scripttempl/ppcpe.sc,
* scripttempl/tic4xcoff.sc, * scripttempl/tic80coff.sc,
* scripttempl/v850.sc, * scripttempl/v850_rh850.sc,
* scripttempl/visium.sc, * scripttempl/xstormy16.sc: Add KEEP and
SORT_NONE to .init and .fini wildcards.
* scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc,
* scripttempl/elf32xc16xs.sc: Add .fini wildcard.
* scripttempl/elf_chaos.sc: Add .init output section.
* scripttempl/elfd30v.sc: Remove duplicate .init.
* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
* scripttempl/elfm9s12z.sc, * scripttempl/elfxgate.sc: Remove
duplicate .init, and add .fini wildcard.
* scripttempl/ppcpe.sc (INIT, FINI): Delete.
* ldlang.c (update_wild_statements): Special case .init and
.fini in the wildcard, not the output section.
2019-03-21 05:28:35 +01:00
|
|
|
${RELOCATING+KEEP (*(SORT_NONE(.fini)))}
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING+${FINISH_CODE}}
|
2000-06-19 03:22:44 +02:00
|
|
|
|
|
|
|
${RELOCATING+_etext = .;}
|
|
|
|
${RELOCATING+PROVIDE (etext = .);}
|
|
|
|
|
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}
|
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.eh_frame ${RELOCATING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
2001-08-12 22:19:49 +02:00
|
|
|
KEEP (*(.eh_frame))
|
2000-06-19 03:22:44 +02:00
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}
|
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.gcc_except_table ${RELOCATING-0} :
|
2003-07-29 22:17:17 +02:00
|
|
|
{
|
|
|
|
*(.gcc_except_table)
|
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}
|
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.rodata ${RELOCATING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
|
|
|
*(.rodata)
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING+*(.rodata.*)}
|
|
|
|
${RELOCATING+*(.gnu.linkonce.r*)}
|
2000-06-19 03:22:44 +02:00
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}
|
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.rodata1 ${RELOCATING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
|
|
|
*(.rodata1)
|
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}
|
|
|
|
|
2001-08-03 22:41:26 +02:00
|
|
|
/* Constructor and destructor tables are in ROM. */
|
|
|
|
${RELOCATING+${CTOR}}
|
|
|
|
${RELOCATING+${DTOR}}
|
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.jcr ${RELOCATING-0} :
|
2001-08-12 22:19:49 +02:00
|
|
|
{
|
|
|
|
KEEP (*(.jcr))
|
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}}
|
|
|
|
|
2000-06-19 03:22:44 +02:00
|
|
|
/* Start of the data section image in ROM. */
|
|
|
|
${RELOCATING+__data_image = .;}
|
|
|
|
${RELOCATING+PROVIDE (__data_image = .);}
|
|
|
|
|
|
|
|
/* All read-only sections that normally go in PROM must be above.
|
|
|
|
We construct the DATA image section in PROM at end of all these
|
|
|
|
read-only sections. The data image must be copied at init time.
|
|
|
|
Refer to GNU ld, Section 3.6.8.2 Output Section LMA. */
|
2009-10-10 06:34:39 +02:00
|
|
|
.data ${RELOCATING-0} : ${RELOCATING+AT (__data_image)}
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
|
|
|
${RELOCATING+__data_section_start = .;}
|
|
|
|
${RELOCATING+PROVIDE (__data_section_start = .);}
|
|
|
|
|
|
|
|
${RELOCATING+${DATA_START_SYMBOLS}}
|
|
|
|
${RELOCATING+*(.sdata)}
|
|
|
|
*(.data)
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING+*(.data.*)}
|
2000-06-19 03:22:44 +02:00
|
|
|
${RELOCATING+*(.data1)}
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING+*(.gnu.linkonce.d.*)}
|
2000-06-19 03:22:44 +02:00
|
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
|
|
|
|
|
|
${RELOCATING+_edata = .;}
|
|
|
|
${RELOCATING+PROVIDE (edata = .);}
|
|
|
|
} ${RELOCATING+ > ${DATA_MEMORY}}
|
|
|
|
|
|
|
|
${RELOCATING+__data_section_size = SIZEOF(.data);}
|
|
|
|
${RELOCATING+PROVIDE (__data_section_size = SIZEOF(.data));}
|
|
|
|
${RELOCATING+__data_image_end = __data_image + __data_section_size;}
|
|
|
|
|
|
|
|
${RELOCATING+${PRE_COMPUTE_DATA_SIZE}}
|
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
/* .install ${RELOCATING-0}:
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
|
|
|
. = _data_image_end;
|
|
|
|
} ${RELOCATING+ > ${TEXT_MEMORY}} */
|
|
|
|
|
|
|
|
/* Relocation for some bss and data sections. */
|
|
|
|
${RELOCATING-${BSS_DATA_RELOC}}
|
2002-06-29 12:33:45 +02:00
|
|
|
${RELOCATING-${SOFT_REGS_RELOC}}
|
2000-06-19 03:22:44 +02:00
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.bss ${RELOCATING-0} :
|
2000-06-19 03:22:44 +02:00
|
|
|
{
|
|
|
|
${RELOCATING+__bss_start = .;}
|
|
|
|
${RELOCATING+*(.sbss)}
|
|
|
|
${RELOCATING+*(.scommon)}
|
ELF ld -r scripts
"ld -r" generally should not combine object file sections with
different names. For example, "ld -r" should not combine ".text",
".text.hot" and ".text.cold" into an output ".text" section. An
exception needs to be made for linker created sections, for example,
branch trampoline sections that might be created even for ld -r.
"ld -r" also should not define symbols in linker scripts. Any
definitions are likely to conflict with those defined at final link.
A MEMORY spec is also not needed for ld -r.
* Makefile.am (eelf32btsmip_fbsd.c, eelf32btsmipn32_fbsd.c),
(eelf32epiphany.c, eelf32epiphany_4x4.c, eelf32ltsmip_fbsd.c),
(eelf32ltsmipn32_fbsd.c, eelf32xc16x.c, eelf32xc16xl.c),
(eelf32xc16xs.c, emcorepe.c, enios2elf.c, enios2linux.c),
(eelf64btsmip_fbsd.c, eelf64ltsmip_fbsd.c): Correct dependencies.
* Makefile.in: Regenerate.
* emulparams/aarch64cloudabi.sh, * emulparams/aarch64fbsd.sh,
* emulparams/aarch64linux.sh, * emulparams/aarch64linux32.sh,
* emulparams/arc-nps.sh, * emulparams/elf32_spu.sh,
* emulparams/elf32_tic6x_le.sh, * emulparams/elf32bmip.sh,
* emulparams/elf32btsmipn32.sh, * emulparams/elf32lr5900n32.sh,
* emulparams/elf32mep.sh, * emulparams/elf32metag.sh,
* emulparams/elf64btsmip.sh, * emulparams/shelf_vxworks.sh,
* emulparams/shlelf_fd.sh, * scripttempl/DWARF.sc,
* scripttempl/alpha.sc, * scripttempl/alphavms.sc,
* scripttempl/arclinux.sc, * scripttempl/armbpabi.sc,
* scripttempl/avr.sc, * scripttempl/dlx.sc, * scripttempl/elf.sc,
* scripttempl/elf32cr16.sc, * scripttempl/elf32cr16c.sc,
* scripttempl/elf32crx.sc, * scripttempl/elf32msp430.sc,
* scripttempl/elf32msp430_3.sc, * scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
* scripttempl/elfd10v.sc, * scripttempl/elfd30v.sc,
* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
* scripttempl/elfm9s12z.sc, * scripttempl/elfmicroblaze.sc,
* scripttempl/elfxgate.sc, * scripttempl/elfxtensa.sc,
* scripttempl/epiphany_4x4.sc, * scripttempl/ft32.sc,
* scripttempl/hppaelf.sc, * scripttempl/ia64vms.sc,
* scripttempl/ip2k.sc, * scripttempl/iq2000.sc,
* scripttempl/mep.sc, * scripttempl/mmo.sc,
* scripttempl/nds32elf.sc, * scripttempl/pru.sc,
* scripttempl/sh.sc, * scripttempl/v850.sc,
* scripttempl/v850_rh850.sc, * scripttempl/visium.sc,
* scripttempl/xstormy16.sc: Condition various parts of scripts on
${RELOCATABLE} in order to prevent ld -r merging sections or
defining symbols. Remove MEMORY and VERSION definitions from
ld -r scripts too.
* testsuite/ld-elf/group2.d, * testsuite/ld-elf/group4.d,
* testsuite/ld-elf/group5.d, * testsuite/ld-elf/group6.d,
* testsuite/ld-elf/group7.d, * testsuite/ld-elf/group8a.d,
* testsuite/ld-elf/group8b.d, * testsuite/ld-elf/group9a.d,
* testsuite/ld-elf/group9b.d, * testsuite/ld-elf/pr17550a.d,
* testsuite/ld-elf/pr17550b.d,
* testsuite/ld-elf/pr17550d.d: Don't xfail cr16 and crx.
* testsuite/ld-elf/init-fini-arrays.d,
* testsuite/ld-elf/pr22677.d: Likewise, and dont' xfail mep.
2018-10-12 03:36:40 +02:00
|
|
|
${RELOCATING+*(.dynbss)}
|
2000-06-19 03:22:44 +02:00
|
|
|
*(.bss)
|
2001-08-03 22:41:26 +02:00
|
|
|
${RELOCATING+*(.bss.*)}
|
|
|
|
${RELOCATING+*(.gnu.linkonce.b.*)}
|
ELF ld -r scripts
"ld -r" generally should not combine object file sections with
different names. For example, "ld -r" should not combine ".text",
".text.hot" and ".text.cold" into an output ".text" section. An
exception needs to be made for linker created sections, for example,
branch trampoline sections that might be created even for ld -r.
"ld -r" also should not define symbols in linker scripts. Any
definitions are likely to conflict with those defined at final link.
A MEMORY spec is also not needed for ld -r.
* Makefile.am (eelf32btsmip_fbsd.c, eelf32btsmipn32_fbsd.c),
(eelf32epiphany.c, eelf32epiphany_4x4.c, eelf32ltsmip_fbsd.c),
(eelf32ltsmipn32_fbsd.c, eelf32xc16x.c, eelf32xc16xl.c),
(eelf32xc16xs.c, emcorepe.c, enios2elf.c, enios2linux.c),
(eelf64btsmip_fbsd.c, eelf64ltsmip_fbsd.c): Correct dependencies.
* Makefile.in: Regenerate.
* emulparams/aarch64cloudabi.sh, * emulparams/aarch64fbsd.sh,
* emulparams/aarch64linux.sh, * emulparams/aarch64linux32.sh,
* emulparams/arc-nps.sh, * emulparams/elf32_spu.sh,
* emulparams/elf32_tic6x_le.sh, * emulparams/elf32bmip.sh,
* emulparams/elf32btsmipn32.sh, * emulparams/elf32lr5900n32.sh,
* emulparams/elf32mep.sh, * emulparams/elf32metag.sh,
* emulparams/elf64btsmip.sh, * emulparams/shelf_vxworks.sh,
* emulparams/shlelf_fd.sh, * scripttempl/DWARF.sc,
* scripttempl/alpha.sc, * scripttempl/alphavms.sc,
* scripttempl/arclinux.sc, * scripttempl/armbpabi.sc,
* scripttempl/avr.sc, * scripttempl/dlx.sc, * scripttempl/elf.sc,
* scripttempl/elf32cr16.sc, * scripttempl/elf32cr16c.sc,
* scripttempl/elf32crx.sc, * scripttempl/elf32msp430.sc,
* scripttempl/elf32msp430_3.sc, * scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
* scripttempl/elfd10v.sc, * scripttempl/elfd30v.sc,
* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
* scripttempl/elfm9s12z.sc, * scripttempl/elfmicroblaze.sc,
* scripttempl/elfxgate.sc, * scripttempl/elfxtensa.sc,
* scripttempl/epiphany_4x4.sc, * scripttempl/ft32.sc,
* scripttempl/hppaelf.sc, * scripttempl/ia64vms.sc,
* scripttempl/ip2k.sc, * scripttempl/iq2000.sc,
* scripttempl/mep.sc, * scripttempl/mmo.sc,
* scripttempl/nds32elf.sc, * scripttempl/pru.sc,
* scripttempl/sh.sc, * scripttempl/v850.sc,
* scripttempl/v850_rh850.sc, * scripttempl/visium.sc,
* scripttempl/xstormy16.sc: Condition various parts of scripts on
${RELOCATABLE} in order to prevent ld -r merging sections or
defining symbols. Remove MEMORY and VERSION definitions from
ld -r scripts too.
* testsuite/ld-elf/group2.d, * testsuite/ld-elf/group4.d,
* testsuite/ld-elf/group5.d, * testsuite/ld-elf/group6.d,
* testsuite/ld-elf/group7.d, * testsuite/ld-elf/group8a.d,
* testsuite/ld-elf/group8b.d, * testsuite/ld-elf/group9a.d,
* testsuite/ld-elf/group9b.d, * testsuite/ld-elf/pr17550a.d,
* testsuite/ld-elf/pr17550b.d,
* testsuite/ld-elf/pr17550d.d: Don't xfail cr16 and crx.
* testsuite/ld-elf/init-fini-arrays.d,
* testsuite/ld-elf/pr22677.d: Likewise, and dont' xfail mep.
2018-10-12 03:36:40 +02:00
|
|
|
${RELOCATING+*(COMMON)}
|
2000-06-19 03:22:44 +02:00
|
|
|
${RELOCATING+PROVIDE (_end = .);}
|
|
|
|
} ${RELOCATING+ > ${DATA_MEMORY}}
|
2000-08-09 00:04:32 +02:00
|
|
|
${RELOCATING+__bss_size = SIZEOF(.bss);}
|
|
|
|
${RELOCATING+PROVIDE (__bss_size = SIZEOF(.bss));}
|
2000-06-19 03:22:44 +02:00
|
|
|
|
2009-10-10 06:34:39 +02:00
|
|
|
.eeprom ${RELOCATING-0} :
|
2002-06-29 12:33:45 +02:00
|
|
|
{
|
|
|
|
*(.eeprom)
|
ELF ld -r scripts
"ld -r" generally should not combine object file sections with
different names. For example, "ld -r" should not combine ".text",
".text.hot" and ".text.cold" into an output ".text" section. An
exception needs to be made for linker created sections, for example,
branch trampoline sections that might be created even for ld -r.
"ld -r" also should not define symbols in linker scripts. Any
definitions are likely to conflict with those defined at final link.
A MEMORY spec is also not needed for ld -r.
* Makefile.am (eelf32btsmip_fbsd.c, eelf32btsmipn32_fbsd.c),
(eelf32epiphany.c, eelf32epiphany_4x4.c, eelf32ltsmip_fbsd.c),
(eelf32ltsmipn32_fbsd.c, eelf32xc16x.c, eelf32xc16xl.c),
(eelf32xc16xs.c, emcorepe.c, enios2elf.c, enios2linux.c),
(eelf64btsmip_fbsd.c, eelf64ltsmip_fbsd.c): Correct dependencies.
* Makefile.in: Regenerate.
* emulparams/aarch64cloudabi.sh, * emulparams/aarch64fbsd.sh,
* emulparams/aarch64linux.sh, * emulparams/aarch64linux32.sh,
* emulparams/arc-nps.sh, * emulparams/elf32_spu.sh,
* emulparams/elf32_tic6x_le.sh, * emulparams/elf32bmip.sh,
* emulparams/elf32btsmipn32.sh, * emulparams/elf32lr5900n32.sh,
* emulparams/elf32mep.sh, * emulparams/elf32metag.sh,
* emulparams/elf64btsmip.sh, * emulparams/shelf_vxworks.sh,
* emulparams/shlelf_fd.sh, * scripttempl/DWARF.sc,
* scripttempl/alpha.sc, * scripttempl/alphavms.sc,
* scripttempl/arclinux.sc, * scripttempl/armbpabi.sc,
* scripttempl/avr.sc, * scripttempl/dlx.sc, * scripttempl/elf.sc,
* scripttempl/elf32cr16.sc, * scripttempl/elf32cr16c.sc,
* scripttempl/elf32crx.sc, * scripttempl/elf32msp430.sc,
* scripttempl/elf32msp430_3.sc, * scripttempl/elf32xc16x.sc,
* scripttempl/elf32xc16xl.sc, * scripttempl/elf32xc16xs.sc,
* scripttempl/elf64hppa.sc, * scripttempl/elf_chaos.sc,
* scripttempl/elfarc.sc, * scripttempl/elfarcv2.sc,
* scripttempl/elfd10v.sc, * scripttempl/elfd30v.sc,
* scripttempl/elfm68hc11.sc, * scripttempl/elfm68hc12.sc,
* scripttempl/elfm9s12z.sc, * scripttempl/elfmicroblaze.sc,
* scripttempl/elfxgate.sc, * scripttempl/elfxtensa.sc,
* scripttempl/epiphany_4x4.sc, * scripttempl/ft32.sc,
* scripttempl/hppaelf.sc, * scripttempl/ia64vms.sc,
* scripttempl/ip2k.sc, * scripttempl/iq2000.sc,
* scripttempl/mep.sc, * scripttempl/mmo.sc,
* scripttempl/nds32elf.sc, * scripttempl/pru.sc,
* scripttempl/sh.sc, * scripttempl/v850.sc,
* scripttempl/v850_rh850.sc, * scripttempl/visium.sc,
* scripttempl/xstormy16.sc: Condition various parts of scripts on
${RELOCATABLE} in order to prevent ld -r merging sections or
defining symbols. Remove MEMORY and VERSION definitions from
ld -r scripts too.
* testsuite/ld-elf/group2.d, * testsuite/ld-elf/group4.d,
* testsuite/ld-elf/group5.d, * testsuite/ld-elf/group6.d,
* testsuite/ld-elf/group7.d, * testsuite/ld-elf/group8a.d,
* testsuite/ld-elf/group8b.d, * testsuite/ld-elf/group9a.d,
* testsuite/ld-elf/group9b.d, * testsuite/ld-elf/pr17550a.d,
* testsuite/ld-elf/pr17550b.d,
* testsuite/ld-elf/pr17550d.d: Don't xfail cr16 and crx.
* testsuite/ld-elf/init-fini-arrays.d,
* testsuite/ld-elf/pr22677.d: Likewise, and dont' xfail mep.
2018-10-12 03:36:40 +02:00
|
|
|
${RELOCATING+*(.eeprom.*)}
|
2002-06-29 12:33:45 +02:00
|
|
|
} ${RELOCATING+ > ${EEPROM_MEMORY}}
|
|
|
|
|
2000-06-19 03:22:44 +02:00
|
|
|
${RELOCATING+${VECTORS}}
|
|
|
|
|
|
|
|
/* Stabs debugging sections. */
|
|
|
|
.stab 0 : { *(.stab) }
|
|
|
|
.stabstr 0 : { *(.stabstr) }
|
|
|
|
.stab.excl 0 : { *(.stab.excl) }
|
|
|
|
.stab.exclstr 0 : { *(.stab.exclstr) }
|
|
|
|
.stab.index 0 : { *(.stab.index) }
|
|
|
|
.stab.indexstr 0 : { *(.stab.indexstr) }
|
|
|
|
|
|
|
|
.comment 0 : { *(.comment) }
|
|
|
|
|
2013-04-15 10:51:58 +02:00
|
|
|
EOF
|
|
|
|
|
2013-04-28 16:52:55 +02:00
|
|
|
. $srcdir/scripttempl/DWARF.sc
|
2013-04-15 10:51:58 +02:00
|
|
|
|
|
|
|
cat <<EOF
|
2000-06-19 03:22:44 +02:00
|
|
|
}
|
|
|
|
EOF
|