source: mainline/libc/arch/ia64/_link.ld.in@ 0c6984e

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 0c6984e was 7f9cd77, checked in by Jakub Jermar <jakub@…>, 19 years ago

Change ia64 linker script to suppress warnings about discarded section that appear when compiled with gcc 4.1.x

  • Property mode set to 100644
File size: 668 bytes
Line 
1STARTUP(../libc/arch/ARCH/src/entry.o)
2ENTRY(__entry)
3
4PHDRS {
5 text PT_LOAD FLAGS(5);
6 data PT_LOAD FLAGS(6);
7}
8
9SECTIONS {
10 . = 0x4000;
11
12 .init ALIGN(0x4000): SUBALIGN(0x4000) {
13 *(.init);
14 } : text
15 .text : {
16 *(.text);
17 *(.rodata*);
18 } :text
19
20 .got ALIGN(0x4000) : SUBALIGN(0x4000) {
21 _gp = .;
22 *(.got*);
23 } :data
24 .data : {
25 *(.opd);
26 *(.data .data.*);
27 *(.sdata);
28 } :data
29 .tdata : {
30 _tdata_start = .;
31 *(.tdata);
32 _tdata_end = .;
33 } :data
34 .tbss : {
35 _tbss_start = .;
36 *(.tbss);
37 _tbss_end = .;
38 } :data
39 .bss : {
40 *(.sbss);
41 *(.scommon);
42 *(COMMON);
43 *(.bss);
44 } :data
45
46 . = ALIGN(0x4000);
47 _heap = .;
48
49 /DISCARD/ : {
50 *(*);
51 }
52}
Note: See TracBrowser for help on using the repository browser.