Make "show remote exec-file" inferior-aware
[deliverable/binutils-gdb.git] / ld / scripttempl / z80.sc
CommitLineData
b3adc24a 1# Copyright (C) 2014-2020 Free Software Foundation, Inc.
6c19b93b 2#
985743c7
NC
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.
6
6655dba2
SB
7if test "${OUTPUT_FORMAT}" = "elf32-z80"; then
8 NO_REL_RELOCS=1
9 NO_RELA_RELOCS=1
10 NO_SMALL_DATA=1
11 EMBEDDED=1
12 ALIGNMENT=1
13 . $srcdir/scripttempl/elf.sc
14 return 0
15fi
16
3c9b82ba 17cat << EOF
b3adc24a 18/* Copyright (C) 2014-2020 Free Software Foundation, Inc.
985743c7
NC
19
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. */
23
6655dba2
SB
24OUTPUT_FORMAT("${OUTPUT_FORMAT}")
25OUTPUT_ARCH("${ARCH}")
3c9b82ba
NC
26SECTIONS
27{
6655dba2
SB
28.isr : {
29 ${RELOCATING+ __Labs = .;}
30 *(.isr)
31 *(isr)
32 ${RELOCATING+ __Habs = .;}
33 }
3c9b82ba 34.text : {
6655dba2 35 ${RELOCATING+ __Ltext = .;}
3c9b82ba
NC
36 *(.text)
37 *(text)
38 ${RELOCATING+ __Htext = .;}
39 }
40.data : {
41 ${RELOCATING+ __Ldata = .;}
42 *(.data)
43 *(data)
44 ${RELOCATING+ __Hdata = .;}
45 }
46.bss : {
47 ${RELOCATING+ __Lbss = .;}
48 *(.bss)
49 *(bss)
50 ${RELOCATING+ __Hbss = .;}
51 }
52}
53EOF
This page took 0.608602 seconds and 4 git commands to generate.