projects
/
ls2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f597d86
)
set start to _start in hello_world lds script
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 11 Apr 2022 15:31:46 +0000
(16:31 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 11 Apr 2022 15:31:46 +0000
(16:31 +0100)
this causes elf image to get the correct start (execution) address
hello_world/powerpc.lds
patch
|
blob
|
history
diff --git
a/hello_world/powerpc.lds
b/hello_world/powerpc.lds
index 96bc6b9b16120335e73f6e90c29b3573d2c55e59..f3901f41fb975508554035ba778dcf9437a8fb89 100644
(file)
--- a/
hello_world/powerpc.lds
+++ b/
hello_world/powerpc.lds
@@
-1,6
+1,7
@@
SECTIONS
{
_start = .;
+ start = _start;
. = 0;
.head : {
KEEP(*(.head))