projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add linker relaxation support for the AVR
[deliverable/binutils-gdb.git]
/
ld
/
scripttempl
/
m68kcoff.sc
diff --git
a/ld/scripttempl/m68kcoff.sc
b/ld/scripttempl/m68kcoff.sc
index 6f75974eebc6a680f95f0f1c00d0e948f2a4c2ed..f268c6f9060d92975e028bf71d77d27e88e9e48e 100644
(file)
--- a/
ld/scripttempl/m68kcoff.sc
+++ b/
ld/scripttempl/m68kcoff.sc
@@
-1,11
+1,12
@@
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
${LIB_SEARCH_DIRS}
-
+PROVIDE (__stack = 0);
SECTIONS
{
SECTIONS
{
- .text
0x1000000
: {
+ .text
${RELOCATING+ 0x1000000}
: {
*(.text)
*(.text)
+ ${CONSTRUCTING+ . = ALIGN(4);}
${RELOCATING+ etext = .;}
${CONSTRUCTING+ __CTOR_LIST__ = .;}
${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
${RELOCATING+ etext = .;}
${CONSTRUCTING+ __CTOR_LIST__ = .;}
${CONSTRUCTING+ LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)}
@@
-18,7
+19,7
@@
SECTIONS
${CONSTRUCTING+ LONG(0)}
${CONSTRUCTING+ __DTOR_END__ = .;}
}
${CONSTRUCTING+ LONG(0)}
${CONSTRUCTING+ __DTOR_END__ = .;}
}
- .data
0x3000000
: {
+ .data : {
*(.data)
${RELOCATING+ edata = .};
}
*(.data)
${RELOCATING+ edata = .};
}
This page took
0.02348 seconds
and
4
git commands to generate.