Changeset a3aa1e1 in mainline for libc/arch/ia64/_link.ld.in


Ignore:
Timestamp:
2006-03-13T12:29:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b419162
Parents:
8f9239e
Message:

Unify init linker scripts to contain two properly aligned and properly flagged segments.

File:
1 edited

Legend:

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

    r8f9239e ra3aa1e1  
    1 OUTPUT_FORMAT(elf64-ia64-little)
    21STARTUP(../libc/arch/ARCH/src/entry.o)
    32ENTRY(__entry)
    43
     4PHDRS {
     5        text PT_LOAD FLAGS(5);
     6        data PT_LOAD FLAGS(6);
     7}
     8
    59SECTIONS {
    6         .text 0x00010000 : {
    7                 *(.text)
    8                 *(.rodata .rodata.*)
    9                 *(.opd)
    10                 *(.data)
    11                 *(.got .got.*)
    12                 *(.sdata)
    13                 *(.sbss)
    14                 *(.scommon)
    15                 *(.bss)
     10        . = 0x4000;
     11
     12        .init ALIGN(0x4000): SUBALIGN(0x4000) {
     13                *(.init);
     14        } : text
     15        .text : {
     16                *(.text);
     17                *(.rodata*);
     18        } :text
     19
     20        .got ALIGN(0x4000) : SUBALIGN(0x4000) {
     21                *(.got*);
     22        } :data
     23        .data : {
     24                _gp = .;
     25                *(.opd);
     26                *(.data);
     27                *(.sdata);
     28        } :data
     29        .bss : {
     30                *(.sbss);
     31                *(.scommon);
    1632                *(COMMON);
    17         }
     33                *(.bss);
     34        } :data
    1835 
    1936        /DISCARD/ : {
    20                 *(.note.GNU-stack);
    21                 *(.comment);
     37                *(*);
    2238        }
    2339}
Note: See TracChangeset for help on using the changeset viewer.