Changeset d1bab98 in rtems


Ignore:
Timestamp:
Feb 26, 2021, 11:54:37 PM (8 weeks ago)
Author:
Chris Johns <chrisj@…>
Branches:
5
Children:
f4d00aa
Parents:
3824960
git-author:
Chris Johns <chrisj@…> (02/26/21 23:54:37)
git-committer:
Chris Johns <chrisj@…> (02/26/21 23:59:25)
Message:

powerpc/motorola_power: Place any common data in the .bss section

  • It seems the compiler how defaults to -fcommon and this means some uninitialised data is ignored.

Closes #4266

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/powerpc/motorola_powerpc/bootloader/ppcboot.lds

    r3824960 rd1bab98  
    4141    *(.text*)
    4242    *(.sdata2)
     43    *(.sdata2*)
    4344    *(.rodata)
    4445    *(.rodata*)
     
    7374    *(.data*)
    7475    *(.sdata)
     76    *(.sdata*)
    7577    . = ALIGN(4);
    7678    _data_end = .;
     
    7981  {
    8082    *(.sbss)
     83    *(.sbss*)
    8184    *(.bss)
     85    *(.bss*)
     86    *(COMMON)
    8287    . = ALIGN(4);
    8388    _bss_end = .;
     
    97102  /DISCARD/ :
    98103  {
    99     *(.comment)
     104    *(.comment*)
     105    *(.debug*)
    100106  }
    101107}
Note: See TracChangeset for help on using the changeset viewer.