Changeset 11532ca in rtems for c/src/lib/libbsp/m68k/gen68360


Ignore:
Timestamp:
Apr 24, 1996, 8:05:52 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a412622
Parents:
1543932
Message:

Hacked so gld will accept this so we can purge the aout toolset. This change
should be undone when the m68k-coff cross toolset is updated next time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/gen68360/startup/linkcmds

    r1543932 r11532ca  
    2222 * Declare some sizes
    2323 */
     24
     25/*
     26 *  XXX: The assignment of ". += XyzSize;" fails in older gld's if the
     27 *       number used there is not constant so the calculated sizes are
     28 *       ignored below and the default number is used instead.
     29 */
     30
    2431HeapSize = DEFINED(HeapSize) ? HeapSize : 0x10000;
    2532StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
     
    3037SECTIONS {
    3138        .text : {
     39                _RamBase = .;
    3240                __RamBase = .;
    3341                CREATE_OBJECT_SYMBOLS
     
    4250        } >ram
    4351        .bss : {
     52                M68Kvec = .;
    4453                _M68Kvec = .;
    4554                . += (256 * 4);
     
    5059                _end = .;
    5160
     61                _HeapStart = .;
    5262                __HeapStart = .;
    53                 . += HeapSize;
    54                 . += StackSize;
     63                /* XXX:  Temporary to get around a gld bug
     64                 *
     65                 *  . += HeapSize;
     66                 *  . += StackSize;
     67                 */
     68                . += 0x10000;   /* XXX */
     69                . += 0x1000;   /* XXX */
     70
    5571                . = ALIGN (16);
    5672                stack_init = .;
    5773                clear_end = .;
    5874
     75                _WorkspaceBase = .;
    5976                __WorkspaceBase = .;
    6077        } >ram
     
    6481         */
    6582        dpram : {
     83                m360 = .;
    6684                _m360 = .;
    6785                . += (8 * 1024);
     
    7391         */
    7492        rom : {
     93                _RomBase = .;
    7594                __RomBase = .;
    7695        } >rom
Note: See TracChangeset for help on using the changeset viewer.