forked from len0rd/rockbox
Add linker script wildcards for -ffunction-sections and -fdata-sections.
This adds wildcards to accept section names created by -ffunction-sections and -fdata-sections. It should now be possible to build all targets with those switches. Other wildcards such as those in r31337 and r31338 are only needed when things are explicitly put into those sectons. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31352 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ca9111ef64
commit
0efabb3d19
1 changed files with 3 additions and 3 deletions
|
@ -84,7 +84,7 @@ SECTIONS
|
||||||
KEEP(*(.resetvectors));
|
KEEP(*(.resetvectors));
|
||||||
KEEP(*(.vectors));
|
KEEP(*(.vectors));
|
||||||
. = ALIGN(0x200);
|
. = ALIGN(0x200);
|
||||||
*(.data)
|
*(.data*)
|
||||||
. = ALIGN(0x4);
|
. = ALIGN(0x4);
|
||||||
_dataend = .;
|
_dataend = .;
|
||||||
. = ALIGN(0x10); /* Maintain proper alignment for .text section */
|
. = ALIGN(0x10); /* Maintain proper alignment for .text section */
|
||||||
|
@ -101,13 +101,13 @@ SECTIONS
|
||||||
.text LOADADDR(.data) + SIZEOF(.data) :
|
.text LOADADDR(.data) + SIZEOF(.data) :
|
||||||
{
|
{
|
||||||
*(.init.text)
|
*(.init.text)
|
||||||
*(.text)
|
*(.text*)
|
||||||
. = ALIGN(0x4);
|
. = ALIGN(0x4);
|
||||||
} > FLASH
|
} > FLASH
|
||||||
|
|
||||||
.rodata :
|
.rodata :
|
||||||
{
|
{
|
||||||
*(.rodata)
|
*(.rodata*)
|
||||||
*(.rodata.str1.1)
|
*(.rodata.str1.1)
|
||||||
*(.rodata.str1.4)
|
*(.rodata.str1.4)
|
||||||
. = ALIGN(0x4);
|
. = ALIGN(0x4);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue