Changeset 6da1013f in mainline for kernel/arch/sparc64/_link.ld.in


Ignore:
Timestamp:
2009-02-12T20:09:19Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
84266669
Parents:
7004747
Message:

simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup

File:
1 edited

Legend:

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

    r7004747 r6da1013f  
    22 *
    33 *  It is ELF format, but its only section looks like this:
    4  *  kernel text
    5  *  kernel data
     4 *   kernel text
     5 *   kernel data
    66 *
    77 */
     
    1212
    1313SECTIONS {
    14         .image VMA: AT (LMA) { 
     14        .image VMA: AT (LMA) {
    1515                ktext_start = .;
    1616                *(K_TEXT_START)
     
    2222                *(.rodata);
    2323                *(.rodata.*);
    24                 *(.data);               /* initialized data */
     24                *(.data);                   /* initialized data */
    2525                *(.sdata);
    2626                *(.sdata2);
     
    2828                . = ALIGN(8);
    2929                hardcoded_ktext_size = .;
    30                 QUAD(ktext_end - ktext_start); 
     30                QUAD(ktext_end - ktext_start);
    3131                hardcoded_kdata_size = .;
    3232                QUAD(kdata_end - kdata_start);
    3333                hardcoded_load_address = .;
    3434                QUAD(VMA);
    35                 *(.bss);                /* uninitialized static variables */   
    36                 *(COMMON);              /* global variables */
    37 
     35                *(.bss);                    /* uninitialized static variables */
     36                *(COMMON);                  /* global variables */
     37               
    3838                symbol_table = .;
    39                 *(symtab.*);            /* Symbol table, must be LAST symbol!*/
    40 
     39                *(symtab.*);                /* Symbol table, must be LAST symbol!*/
     40               
    4141                kdata_end = .;
    4242        }
     
    4545                *(*);
    4646        }
    47 
     47       
    4848}
Note: See TracChangeset for help on using the changeset viewer.