Automatic date update in version.in
[binutils-gdb.git] / gold / testsuite / script_test_12.t
blobb92d40a1fb35cc7c9a3945667faedffbf24d900f
1 /* script_test_12.t -- linker script test 12 for gold
3    Copyright (C) 2008-2024 Free Software Foundation, Inc.
4    Written by Cary Coutant <ccoutant@gmail.com>.
6    This file is part of gold.
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.
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.
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.  */
23 interleaved = 0;
25 SECTIONS
27   . = 0x400000 + SIZEOF_HEADERS;
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) }
36   .text : { *(.text) }
37   .fini : { *(.fini) }
38   .rodata : { *(.rodata .rodata.*) }
39   .eh_frame_hdr : { *(.eh_frame_hdr) }
40   .eh_frame : { *(.eh_frame) }
42   . = DATA_SEGMENT_ALIGN(0x10000, 0x10000);
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 = .;
59     *(.x4);
60     }
61   .bss : { *(.bss) }