source: mainline/boot/arch/ia64/loader/_link.ld.in@ 653a4f7

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 653a4f7 was 653a4f7, checked in by Jiri Svoboda <jirik.svoboda@…>, 17 years ago

Fix linker script in ia64 bootloader. It was putting everything to the small data segment, causing it to overflow.

  • Property mode set to 100644
File size: 470 bytes
Line 
1OUTPUT_FORMAT("elf64-ia64-little")
2ENTRY(start)
3
4SECTIONS {
5 .boot 0x4400000: AT (0x4400000) {
6 *(BOOTSTRAP);
7[[COMPONENTS]]
8 . = ALIGN (16384);
9 *(.text);
10 *(.rodata);
11 *(.rodata.*);
12 *(.data); /* initialized data */
13 _got = . ;
14 *(.got .got.*);
15 *(.bss); /* uninitialized static variables */
16 *(COMMON);
17 }
18
19 .sboot : {
20 *(.sdata);
21 *(.sdata2);
22 *(.sbss);
23 }
24
25 /DISCARD/ : {
26 *(.comment);
27 *(.note*);
28 }
29}
Note: See TracBrowser for help on using the repository browser.