mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-04-13 13:26:05 -05:00
update specs & linkscripts for r22
This commit is contained in:
parent
7c4e904fe5
commit
8eb1b0de0c
|
|
@ -29,14 +29,11 @@ SECTIONS
|
|||
|
||||
.text : /* ALIGN (4): */
|
||||
{
|
||||
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
*(.text .stub .text.* .gnu.linkonce.t.*)
|
||||
KEEP (*(.text.*personality*))
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.gnu.linkonce.t*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.glue_7t) *(.glue_7) *(.vfp11_veneer)
|
||||
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||
} >iwram = 0xff
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
%rename link old_link
|
||||
%rename link_gcc_c_sequence old_gcc_c_sequence
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(old_gcc_c_sequence) --start-group -lsysbase -lc --end-group
|
||||
|
||||
*link:
|
||||
%(old_link) -T ds_arm7.ld%s
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
%rename link old_link
|
||||
%rename link_gcc_c_sequence old_gcc_c_sequence
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(old_gcc_c_sequence) --start-group -lsysbase -lc --end-group
|
||||
|
||||
*link:
|
||||
%(old_link) -T ds_arm9.ld%s
|
||||
|
|
|
|||
|
|
@ -32,15 +32,12 @@ SECTIONS
|
|||
|
||||
.text : /* ALIGN (4): */
|
||||
{
|
||||
|
||||
*(EXCLUDE_FILE (*text.iwram*) .text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
*(EXCLUDE_FILE (*.iwram*) .text)
|
||||
*(.text .stub .text.* .gnu.linkonce.t.*)
|
||||
KEEP (*(.text.*personality*))
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.gnu.linkonce.t*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.glue_7t) *(.glue_7) *(.vfp11_veneer)
|
||||
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||
} >rom = 0xff
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
%rename link old_link
|
||||
%rename link_gcc_c_sequence old_gcc_c_sequence
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(old_gcc_c_sequence) --start-group -lsysbase -lc --end-group
|
||||
|
||||
*link:
|
||||
%(old_link) -T ds_cart.ld%s
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
%rename link old_link
|
||||
%rename link_gcc_c_sequence old_gcc_c_sequence
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(old_gcc_c_sequence) --start-group -lsysbase -lc --end-group
|
||||
|
||||
*link:
|
||||
%(old_link) -T gba_cart.ld%s
|
||||
|
|
|
|||
|
|
@ -82,13 +82,11 @@ SECTIONS
|
|||
.text : /* ALIGN (4): */
|
||||
{
|
||||
*(EXCLUDE_FILE (*.iwram*) .text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
*(.text .stub .text.* .gnu.linkonce.t.*)
|
||||
KEEP (*(.text.*personality*))
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.gnu.linkonce.t*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.glue_7t) *(.glue_7) *(.vfp11_veneer)
|
||||
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||
} >rom = 0xff
|
||||
|
||||
|
|
|
|||
|
|
@ -76,13 +76,11 @@ SECTIONS
|
|||
.text ALIGN (4):
|
||||
{
|
||||
*(EXCLUDE_FILE (*.iwram*) .text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
*(.text .stub .text.* .gnu.linkonce.t.*)
|
||||
KEEP (*(.text.*personality*))
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.gnu.linkonce.t*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
*(.glue_7t) *(.glue_7) *(.vfp11_veneer)
|
||||
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||
} >ewram = 0xff
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
%rename link old_link
|
||||
%rename link_gcc_c_sequence old_gcc_c_sequence
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(old_gcc_c_sequence) --start-group -lsysbase -lc --end-group
|
||||
|
||||
*link:
|
||||
-T gba_mb.ld%s %(old_link)
|
||||
|
|
|
|||
|
|
@ -17,18 +17,15 @@ SECTIONS
|
|||
} >ram = 0xff
|
||||
.plt : { *(.plt) } >ram = 0xff
|
||||
|
||||
.text : /* ALIGN (4): */
|
||||
{
|
||||
|
||||
*(EXCLUDE_FILE (*text.iwram*) .text)
|
||||
*(.text.*)
|
||||
*(.stub)
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.gnu.linkonce.t*)
|
||||
*(.glue_7)
|
||||
*(.glue_7t)
|
||||
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||
|
||||
.text : /* ALIGN (4): */
|
||||
{
|
||||
*(.text .stub .text.* .gnu.linkonce.t.*)
|
||||
KEEP (*(.text.*personality*))
|
||||
/* .gnu.warning sections are handled specially by elf32.em. */
|
||||
*(.gnu.warning)
|
||||
*(.glue_7t) *(.glue_7) *(.vfp11_veneer)
|
||||
. = ALIGN(4); /* REQUIRED. LD is flaky without it. */
|
||||
} >ram = 0xff
|
||||
.fini :
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
%rename link old_link
|
||||
%rename link_gcc_c_sequence old_gcc_c_sequence
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(old_gcc_c_sequence) --start-group -lsysbase -lc --end-group
|
||||
|
||||
*link:
|
||||
%(old_link) -T gp32.ld%s
|
||||
|
|
|
|||
|
|
@ -1,8 +1,4 @@
|
|||
%rename link old_link
|
||||
%rename link_gcc_c_sequence old_gcc_c_sequence
|
||||
|
||||
*link_gcc_c_sequence:
|
||||
%(old_gcc_c_sequence) --start-group -lsysbase -lc --end-group
|
||||
|
||||
*link:
|
||||
%(old_link) -T gp32_gpsdk.ld%s
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user