Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Frysinger <vapier@gentoo.org>2010-10-15 09:41:53 +0400
committerMichael Frysinger <vapier@gentoo.org>2010-10-15 09:41:53 +0400
commit809f1ef494b202dc545e22c58c6c64717807f26f (patch)
tree53634721586c34cd81b91b09f606b2f65022f54e /libgloss/bfin/bfin-common-sc.ld
parent3fb5779745f855b544ab5025dc2363e2e14af429 (diff)
libgloss: bfin: handle L1 sections in linker scripts
Make sure gcc L1 attributes work with the default Blackfin linker scripts. Signed-off-by: Stuart Henderson <stuart.henderson@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libgloss/bfin/bfin-common-sc.ld')
-rw-r--r--libgloss/bfin/bfin-common-sc.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgloss/bfin/bfin-common-sc.ld b/libgloss/bfin/bfin-common-sc.ld
index e185cc561..85f962d0b 100644
--- a/libgloss/bfin/bfin-common-sc.ld
+++ b/libgloss/bfin/bfin-common-sc.ld
@@ -72,7 +72,7 @@ SECTIONS
} >MEM_L2 =0
.text :
{
- *(.text .stub .text.* .gnu.linkonce.t.*)
+ *(.text .stub .text.* .gnu.linkonce.t.* .l1.text .l1.text.*)
KEEP (*(.text.*personality*))
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
@@ -160,7 +160,7 @@ SECTIONS
.dynamic : { *(.dynamic) } >MEM_L1_DATA_A
.data :
{
- *(.data .data.* .gnu.linkonce.d.*)
+ *(.data .data.* .gnu.linkonce.d.* .l1.data .l1.data.*)
KEEP (*(.gnu.linkonce.d.*personality*))
SORT(CONSTRUCTORS)
} >MEM_L1_DATA_A