Changeset a3aa1e1 in mainline for libc/arch/mips32/_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/mips32/_link.ld.in

    r8f9239e ra3aa1e1  
    22ENTRY(__entry)
    33
     4PHDRS {
     5        text PT_LOAD FLAGS(5);
     6        data PT_LOAD FLAGS(6);
     7}
     8
    49SECTIONS {
    510        . = 0x4000;
    6         .init : SUBALIGN(0x4000) {
     11       
     12        .init ALIGN(0x4000) : SUBALIGN(0x4000) {
    713                *(.init);
    8         }
     14        } :text
    915        .text : {
    1016                *(.text);
    1117                *(.rodata*);
    12         }
    13         .data ALIGN(0x4000) :  {
     18        } :text
     19       
     20        .data ALIGN(0x4000) : SUBALIGN(0x4000) {
    1421                *(.data);
    15         }
     22        } :data
    1623        .bss : {
    1724                *(.bss);
    1825                *(.sbss);
    1926                *(COMMON);
    20         }
     27        } :data
     28       
    2129        /DISCARD/ : {
    2230                *(*);
Note: See TracChangeset for help on using the changeset viewer.