summaryrefslogtreecommitdiffstats
path: root/libgloss/mips/mti64_64.ld
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-11-28 08:51:03 +0000
committerCorinna Vinschen <corinna@vinschen.de>2014-11-28 08:51:03 +0000
commitb3281dd194f6cf8f908cf4ae8b8ca41ee2e981df (patch)
treef93e94884d6ecf64779cb7b8cd74a8187b920ced /libgloss/mips/mti64_64.ld
parentd37bfe1da239541b2a77aa7d7b7ab0e220bfef91 (diff)
downloadcygnal-b3281dd194f6cf8f908cf4ae8b8ca41ee2e981df.tar.gz
cygnal-b3281dd194f6cf8f908cf4ae8b8ca41ee2e981df.tar.bz2
cygnal-b3281dd194f6cf8f908cf4ae8b8ca41ee2e981df.zip
* 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.
Diffstat (limited to 'libgloss/mips/mti64_64.ld')
-rw-r--r--libgloss/mips/mti64_64.ld6
1 files changed, 6 insertions, 0 deletions
diff --git a/libgloss/mips/mti64_64.ld b/libgloss/mips/mti64_64.ld
index a058b9626..7a2074f1a 100644
--- a/libgloss/mips/mti64_64.ld
+++ b/libgloss/mips/mti64_64.ld
@@ -98,6 +98,11 @@ SECTIONS
}
. = .;
+ .MIPS.abiflags : {
+ __MIPS_abiflags_start = .;
+ *(.MIPS.abiflags)
+ __MIPS_abiflags_end = .;
+ }
.rodata : {
*(.rdata)
*(.rodata)
@@ -142,6 +147,7 @@ SECTIONS
*(COMMON)
}
+ . = ALIGN(4);
PROVIDE (end = .);
_end = .;