Changeset 15639ec in mainline


Ignore:
Timestamp:
2018-11-12T20:20:36Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8781e9d, e394c196
Parents:
dd884cb
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-12 19:54:19)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-12 20:20:36)
Message:

Fix up x86 linker scripts a bit

Location:
kernel/arch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/_link.ld.in

    rdd884cb r15639ec  
    1515        kernel_load_address = PA2KA(BOOT_OFFSET);
    1616
    17         .unmapped BOOT_OFFSET: AT (0) {
     17        .unmapped (BOOT_OFFSET + SIZEOF_HEADERS): AT (BOOT_OFFSET + SIZEOF_HEADERS) {
    1818                unmapped_start = .;
    1919                *(K_TEXT_START);
     
    2323        }
    2424
    25         .mapped (PA2KA(BOOT_OFFSET)+SIZEOF(.unmapped)) : AT (SIZEOF(.unmapped)) {
     25        .mapped (PA2KA(BOOT_OFFSET) + SIZEOF_HEADERS + SIZEOF(.unmapped)) : AT (BOOT_OFFSET + SIZEOF_HEADERS + SIZEOF(.unmapped)) {
    2626                ktext_start = .;
    2727                *(.text .text.*);
  • kernel/arch/ia32/_link.ld.in

    rdd884cb r15639ec  
    1515        kernel_load_address = PA2KA(BOOT_OFFSET);
    1616
    17         .unmapped BOOT_OFFSET: AT (0) {
     17        .unmapped (BOOT_OFFSET + SIZEOF_HEADERS): AT (BOOT_OFFSET + SIZEOF_HEADERS) {
    1818                unmapped_start = .;
    1919                *(K_TEXT_START);
     
    2222        }
    2323
    24         .mapped (PA2KA(BOOT_OFFSET)+SIZEOF(.unmapped)): AT (SIZEOF(.unmapped)) {
     24        .mapped (PA2KA(BOOT_OFFSET) + SIZEOF_HEADERS + SIZEOF(.unmapped)): AT (BOOT_OFFSET + SIZEOF_HEADERS + SIZEOF(.unmapped)) {
    2525                ktext_start = .;
    2626                *(.text .text.*);
Note: See TracChangeset for help on using the changeset viewer.