Changeset 00a44bc in mainline for arch/ia64/_link.ld


Ignore:
Timestamp:
2005-05-11T14:12:53Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
724b58a
Parents:
9db5b66
Message:

IA-64 work.
Give up attempts to persuade ld to patch the kernel image with proper hardcoded lenghts and addresses.
Add special sections and calculate the numbers manually.
Fix wrong order of operands in sub instructions in memcpy() implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/_link.ld

    r9db5b66 r00a44bc  
    1313SECTIONS {
    1414    .image 0x0000000000001000: AT (0x0000000000001000) {
    15             ktext_start = .;
     15            *(K_TEXT_START)
    1616            *(.text .stub .text.* .gnu.linkonce.t.*)
    1717            *(.interp)
     
    5151            *(.plt)
    5252            *(.fini)
    53             ktext_end = .;
    54             kdata_start = .;
     53            *(K_TEXT_END)
     54            *(K_DATA_START)
    5555            *(.rodata .rodata.* .gnu.linkonce.r.*)
    5656            *(.rodata1)
     
    8080            *(.dynbss)
    8181            *(.bss .bss.* .gnu.linkonce.b.*)
    82             *(COMMON)
    83             kdata_end = .;
     82            *(COMMON);
     83            *(K_DATA_END)
    8484    }
    8585
    86     . = ABSOLUTE(hardcoded_ktext_size);
    87     .patch_1 : {
    88         LONG(ktext_end - ktext_start);
    89     }
    90 
    91     . = ABSOLUTE(hardcoded_kdata_size);
    92     .patch_2 : {
    93         LONG(kdata_end - kdata_start);
    94     }
    95 
    96     . = ABSOLUTE(hardcoded_load_address);
    97     .patch_3 : {
    98         QUAD(0x0000000000001000);
    99     }
    100 
     86   
    10187}
Note: See TracChangeset for help on using the changeset viewer.