Changeset d03e156 in mainline for libc/arch/amd64/_link.ld.in


Ignore:
Timestamp:
2006-03-12T18:22:08Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8286c3b
Parents:
0ef54d3
Message:

Switch uspace to ELF init.

File:
1 edited

Legend:

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

    r0ef54d3 rd03e156  
    1 OUTPUT_FORMAT(binary)
    21STARTUP(../libc/arch/ARCH/src/entry.o)
    32ENTRY(__entry)
    43
     4PHDRS {
     5        image PT_LOAD AT (0x1000);
     6}
     7
    58SECTIONS {
    6  .text 0x00001000 : {
    7  }
     9        . = 0x1000;
     10        .image ALIGN(0x1000) : {
     11                *(.text);
     12                *(.data);               /* initialized data */
     13                *(.rodata*);            /* string literals */
     14                *(COMMON);              /* global variables */
     15                *(.eh_frame);
     16                *(.bss);                /* uninitialized static variables */
     17        } :image
     18
     19
     20        /DISCARD/ : {
     21                *(.note.GNU-stack);
     22                *(.comment);
     23        }
     24
    825}
Note: See TracChangeset for help on using the changeset viewer.