Changeset 04d4512 in mainline for kernel/arch/mips32/_link.ld.in


Ignore:
Timestamp:
2007-04-09T06:03:19Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
261595b
Parents:
72bcb25
Message:

the bss and common sections have to be in .data output section to be properly generated in the binary image
(this might break IRIX, but it is already unmaintaned)

File:
1 edited

Legend:

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

    r72bcb25 r04d4512  
    1111OUTPUT_ARCH(mips)
    1212
    13 ENTRY(kernel_image_start) 
     13ENTRY(kernel_image_start)
    1414
    1515SECTIONS {
     
    3232                *(.sdata);
    3333                *(.reginfo);
    34                 /* Unfortunately IRIX does not allow us
    35                  * to include this as a last section :-(
    36                  * BSS/SBSS addresses will be wrong */
     34                *(.sbss);
     35                *(.scommon);
     36                *(.bss);                /* uninitialized static variables */
     37                *(COMMON);              /* global variables */
    3738                symbol_table = .;
    3839                *(symtab.*);             
     
    4142        .lit8 : { *(.lit8) }
    4243        .lit4 : { *(.lit4) }
    43         .sbss : {
    44                 *(.sbss);
    45                 *(.scommon);
    46         }
    47         .bss : {
    48                 *(.bss);                /* uninitialized static variables */
    49                 *(COMMON);              /* global variables */
    50         }
    5144
    5245        kdata_end = .;
Note: See TracChangeset for help on using the changeset viewer.