diff options
author | Faraz Shahbazker <fshahbazker at wavecomp dot com> | 2019-05-02 16:16:44 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2019-05-15 15:30:25 -0400 |
commit | a9a0d219a417a8079b878ce967f72997789e328a (patch) | |
tree | 1198f15a8456ad2f6cd5ec6638129e796860bdc2 /newlib/libc/machine/riscv | |
parent | e91bc190ff685bca726024da353f0921660bc863 (diff) | |
download | newlib-a9a0d219a417a8079b878ce967f72997789e328a.zip newlib-a9a0d219a417a8079b878ce967f72997789e328a.tar.gz newlib-a9a0d219a417a8079b878ce967f72997789e328a.tar.bz2 |
Make .data section placement coincide with _fdata symbol
The _fdata symbol in MIPS linker scripts is aligned to a 16-byte
boundary. The ALIGN function does not implicitly update current
location counter. If sections positioned after the assignment
do not have the same natural alignment as the ALIGN function then
the start of the section group will not coincide with the value
of the symbol.
Given the linker command sequence:
symbol = ALIGN (NN);
(.section*)
where the idiom implies a desire to mark the beginning of .section
with symbol, there must be an assignment to the location counter
between the assignment to symbol and the .section pattern.
libgloss/
* mips/array.ld: Update the location counter to match _fdata.
* mips/cfe.ld: Likewise.
* mips/ddb-kseg0.ld: Likewise.
* mips/ddb.ld: Likewise.
* mips/dve.ld: Likewise.
* mips/idt.ld: Likewise.
* mips/idt32.ld: Likewise.
* mips/idt64.ld: Likewise.
* mips/idtecoff.ld: Likewise.
* mips/jmr3904app-java.ld: Likewise.
* mips/jmr3904app.ld: Likewise.
* mips/jmr3904dram-java.ld: Likewise.
* mips/jmr3904dram.ld: Likewise.
* mips/lsi.ld: Likewise.
* mips/mti32.ld: Likewise.
* mips/mti64.ld: Likewise.
* mips/mti64_64.ld: Likewise.
* mips/mti64_n32.ld: Likewise.
* mips/nullmon.ld: Likewise.
* mips/pmon.ld: Likewise.
* mips/sde32.ld: Likewise.
* mips/sde64.ld: Likewise.
Diffstat (limited to 'newlib/libc/machine/riscv')
0 files changed, 0 insertions, 0 deletions