Changeset 6eccd0c in rtems for bsps/x86_64/amd64/start/linkcmds


Ignore:
Timestamp:
Aug 13, 2018, 10:25:51 AM (2 years ago)
Author:
Amaan Cheval <amaan.cheval@…>
Branches:
5, master
Children:
4544749e
Parents:
ab971bf5
git-author:
Amaan Cheval <amaan.cheval@…> (08/13/18 10:25:51)
git-committer:
Joel Sherrill <joel@…> (08/13/18 15:48:20)
Message:

bsps/x86_64: Reduce default RamSize? to 1GiB

Simulators may not always be able to allocate 4GiB easily, and using an
artificially lower RAM may cause a broken heap.

Updates #2898.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/x86_64/amd64/start/linkcmds

    rab971bf5 r6eccd0c  
    2424          DEFINED(_RamBase)   ? _RamBase  : 0x0;
    2525
    26 /* XXX: Defaulting to 4GiB.
     26/* XXX: Defaulting to 1GiB.
    2727 */
    2828RamSize = DEFINED(RamSize)    ? RamSize   :
    29           DEFINED(_RamSize)   ? _RamSize  : 0xFFFFFFFF;
     29          DEFINED(_RamSize)   ? _RamSize  : 0x40000000;
    3030
    3131SECTIONS
    3232{
    3333  /* Read-only sections, merged into text segment: */
    34   PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x400000)); . = SEGMENT_START("text-segment", 0x400000) + SIZEOF_HEADERS;
     34  PROVIDE (__executable_start = SEGMENT_START("text-segment", 0x00100000)); . = SEGMENT_START("text-segment", 0x00100000) + SIZEOF_HEADERS;
    3535  .interp         : { *(.interp) }
    3636  .note.gnu.build-id : { *(.note.gnu.build-id) }
Note: See TracChangeset for help on using the changeset viewer.