1 # Copyright (C) 2014-2023 Free Software Foundation, Inc.
3 # Copying and distribution of this file, with or without modification,
4 # are permitted in any medium without royalty provided the copyright
5 # notice and this notice are preserved.
7 if test "${OUTPUT_FORMAT}" = "elf32-z80"; then
13 source_sh $srcdir/scripttempl/elf.sc
18 /* Copyright (C) 2014-2023 Free Software Foundation, Inc.
20 Copying and distribution of this script, with or without modification,
21 are permitted in any medium without royalty provided the copyright
22 notice and this notice are preserved. */
24 OUTPUT_FORMAT("${OUTPUT_FORMAT}")
25 OUTPUT_ARCH("${ARCH}")
29 ${RELOCATING+ __Labs = .;}
32 ${RELOCATING+ __Habs = .;}
35 ${RELOCATING+ __Ltext = .;}
38 ${RELOCATING+ __Htext = .;}
41 ${RELOCATING+ __Ldata = .;}
44 ${RELOCATING+ __Hdata = .;}
47 ${RELOCATING+ __Lbss = .;}
50 ${RELOCATING+ __Hbss = .;}
54 source_sh $srcdir/scripttempl/misc-sections.sc
55 source_sh $srcdir/scripttempl/DWARF.sc