diff options
Diffstat (limited to 'devel/psptoolchain-binutils/files/patch-ld-emulparams-elf_mipsallegrexel_psp.sh')
| -rw-r--r-- | devel/psptoolchain-binutils/files/patch-ld-emulparams-elf_mipsallegrexel_psp.sh | 25 | 
1 files changed, 25 insertions, 0 deletions
diff --git a/devel/psptoolchain-binutils/files/patch-ld-emulparams-elf_mipsallegrexel_psp.sh b/devel/psptoolchain-binutils/files/patch-ld-emulparams-elf_mipsallegrexel_psp.sh new file mode 100644 index 000000000000..0db09c50b9cb --- /dev/null +++ b/devel/psptoolchain-binutils/files/patch-ld-emulparams-elf_mipsallegrexel_psp.sh @@ -0,0 +1,25 @@ +--- ld/emulparams/elf_mipsallegrexel_psp.sh.orig	1970-01-01 01:00:00.000000000 +0100 ++++ ld/emulparams/elf_mipsallegrexel_psp.sh	2006-05-09 02:55:36.000000000 +0100 +@@ -0,0 +1,22 @@ ++# Based off of the default elf32 MIPS target.  However, we use a seperate ++# script template because the PSP architecture defines sections that normally ++# cannot be overriden here and would normally get absorbed (i.e. ++# .rodata.sceModuleInfo would be absorbed into .rodata). ++ ++EMBEDDED=yes ++. ${srcdir}/emulparams/elf32lmip.sh ++unset NONPAGED_TEXT_START_ADDR ++unset SHLIB_TEXT_START_ADDR ++unset COMMONPAGESIZE ++ ++SCRIPT_NAME=elf_psp ++TEXT_START_ADDR=0x08900000 ++MAXPAGESIZE=256 ++ARCH="mips:allegrex" ++MACHINE= ++TEMPLATE_NAME=elf32 ++GENERATE_SHLIB_SCRIPT=yes ++DYNAMIC_LINK=FALSE ++ ++# Discard the .comment and .pdr sections. ++OTHER_SECTIONS="/DISCARD/ : { *(.comment) *(.pdr) }"  | 
