Changeset 45d6add in mainline for arch/ppc32/_link.ld.in


Ignore:
Timestamp:
2006-03-13T19:58:52Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
25d7709
Parents:
6d9c49a
Message:

run ppc32 kernel above 2 GB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/_link.ld.in

    r6d9c49a r45d6add  
    88
    99#define __ASM__
     10#include <arch/boot/boot.h>
     11#include <arch/mm/page.h>
    1012
    1113ENTRY(kernel_image_start)
    1214
    1315SECTIONS {
    14         .image 0x400000: AT (0x400000) {
     16        .image PA2KA(BOOT_OFFSET): AT (0) {
    1517                ktext_start = .;
    1618                *(K_TEXT_START)
     
    3133                LONG(kdata_end - kdata_start);
    3234                hardcoded_load_address = .;
    33                 LONG(0x400000);
     35                LONG(PA2KA(BOOT_OFFSET));
    3436                *(.bss);                /* uninitialized static variables */   
    3537                *(COMMON);              /* global variables */
Note: See TracChangeset for help on using the changeset viewer.