* mips/crt0.S: Configure processor based on .MIPS.abiflags.
Remove FPU availability check, just use the pre-processor flags to indicicate what the user wanted. * mips/abiflags.S: New file. * mips/regs.S (SR_MSA): Define macro. * mips/mti32.ld: Place .MIPS.abiflags and wrap in marker symbols. * mips/mti64.ld: Likewise. * mips/mti64_64.ld: Likewise. * mips/mti64_n32.ld: Likewise.
This commit is contained in:
@@ -93,6 +93,11 @@ SECTIONS
|
||||
}
|
||||
|
||||
. = .;
|
||||
.MIPS.abiflags : {
|
||||
__MIPS_abiflags_start = .;
|
||||
*(.MIPS.abiflags)
|
||||
__MIPS_abiflags_end = .;
|
||||
}
|
||||
.rodata : {
|
||||
*(.rdata)
|
||||
*(.rodata)
|
||||
@@ -137,6 +142,7 @@ SECTIONS
|
||||
*(COMMON)
|
||||
}
|
||||
|
||||
. = ALIGN(4);
|
||||
PROVIDE (end = .);
|
||||
_end = .;
|
||||
|
||||
|
Reference in New Issue
Block a user