projects
/
elf2flt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7370faf
)
arm expects the data segment on a 32 byte boundary, otherwise the GOT
author
David McCullough
<davidm@snapgear.com>
Fri, 14 Mar 2003 04:26:42 +0000
(
04:26
+0000)
committer
David McCullough
<davidm@snapgear.com>
Fri, 14 Mar 2003 04:26:42 +0000
(
04:26
+0000)
entries can throw the alignment of the relocations out and things get
pretty ugly from there.
elf2flt.ld
patch
|
blob
|
history
diff --git
a/elf2flt.ld
b/elf2flt.ld
index 7bb70863bdca1099f007c2865ffb288e84795f95..2aeb56064f9de3adadeaba0c2083a4f4726d7299 100644
(file)
--- a/
elf2flt.ld
+++ b/
elf2flt.ld
@@
-34,7
+34,7
@@
W_RODAT *(.rodata.*)
*(.call_table_data)
*(.call_table_text)
- . = ALIGN(0x
1
0) ;
+ . = ALIGN(0x
2
0) ;
_etext = . ;
} > flatmem
.data : {
@@
-45,9
+45,9
@@
W_RODAT *(.rodata.*)
*(.got.plt)
*(.got)
FILL(0) ;
- . = ALIGN(0x
1
0) ;
+ . = ALIGN(0x
2
0) ;
LONG(-1)
- . = ALIGN(0x
1
0) ;
+ . = ALIGN(0x
2
0) ;
R_RODAT *(.rodata)
R_RODAT *(.rodata1)
R_RODAT *(.rodata.*)