]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gold/testsuite/script_test_12i.t
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / gold / testsuite / script_test_12i.t
CommitLineData
374082df
CC
1/* script_test_12i.t -- linker script test 12 for gold, with interleaved sections
2
250d07de 3 Copyright (C) 2008-2021 Free Software Foundation, Inc.
374082df
CC
4 Written by Cary Coutant <ccoutant@gmail.com>.
5
6 This file is part of gold.
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
21 MA 02110-1301, USA. */
22
23interleaved = 1;
24
25SECTIONS
26{
27 . = 0x400000 + SIZEOF_HEADERS;
28
29 .interp : { *(.interp) }
30 .note : { *(.note .note.*) }
31 .rel.dyn : { *(.rel.dyn) }
32 .rela.dyn : { *(.rela.dyn) }
33 .rel.plt : { *(.rel.plt) }
34 .rela.plt : { *(.rela.plt) }
35 .init : { *(.init) }
374082df
CC
36 .text : { *(.text) }
37 .fini : { *(.fini) }
38 .rodata : { *(.rodata .rodata.*) }
39 .eh_frame_hdr : { *(.eh_frame_hdr) }
40 .eh_frame : { *(.eh_frame) }
41
bebf0132 42 . = DATA_SEGMENT_ALIGN(0x10000, 0x10000);
374082df
CC
43
44 .init_array : {
45 __init_array_start = .;
46 *(.init_array);
47 __init_array_end = .;
48 }
49 .fini_array : { *(.fini_array) }
50 .jcr : { *(.jcr) }
51 .dynamic : { *(.dynamic) }
52 .got : { *(.got) }
53 .got.plt : { *(.got.plt) }
54 .data : { *(.data) }
55 .test : {
56 test_array_start = .;
57 *(.x1) *(.x2) *(.x3)
58 test_array_end = .;
3ca25b56 59 *(.x4);
374082df
CC
60 }
61 .bss : { *(.bss) }
62
63}