source: mainline/arch/ia64/_link.ld.in@ 732fd3c

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

Modify ia64 linker script to make compilation with gcc 4.1.x possible.

  • Property mode set to 100644
File size: 786 bytes
RevLine 
[6bc4dbd]1/** IA-64 linker script
[2217ac3]2 *
3 * It is ELF format, but its only section looks like this:
4 * kernel text
5 * kernel data
6 *
7 */
8
[6bc4dbd]9#define __ASM__
10
[30ef8ce]11ENTRY(kernel_image_start)
12
13SECTIONS {
[5ac2e61]14 .image 0xe000000000100000: AT (0x0000000000100000) {
[ac5d02b]15 ktext_start = .;
16 *(K_TEXT_START);
[7021492]17 *(.text)
[ac5d02b]18 ktext_end = .;
[7021492]19
[ac5d02b]20 kdata_start = .;
21 *(K_DATA_START)
[7021492]22 *(.rodata .rodata.*)
[ac5d02b]23 *(.opd)
[6bf18fa]24 *(.data .data.*)
[7021492]25 *(.got .got.*)
26 *(.sdata)
27 *(.sbss)
[ac5d02b]28 *(.scommon)
[7021492]29 *(.bss)
[ac5d02b]30 *(COMMON);
[5e2455a]31
32 symbol_table = .;
33 *(symtab.*); /* Symbol table, must be LAST symbol!*/
34
[ac5d02b]35 kdata_end = .;
36 }
[2217ac3]37
[6bf18fa]38 /DISCARD/ : {
39 *(*);
40 }
41
[ac5d02b]42 _hardcoded_ktext_size = ktext_end - ktext_start;
43 _hardcoded_kdata_size = kdata_end - kdata_start;
[5ac2e61]44 _hardcoded_load_address = 0xe000000000100000;
[76cec1e]45
[30ef8ce]46}
Note: See TracBrowser for help on using the repository browser.