projects
/
slink.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b87fe3b
)
Don't relocate __etext
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 14 Dec 2024 01:56:40 +0000
(
01:56
+0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 14 Dec 2024 01:56:40 +0000
(
01:56
+0000)
aout.c
patch
|
blob
|
history
diff --git
a/aout.c
b/aout.c
index f0fb39ebfca9bc2a8d649f4f126e1f4e3a6fa98b..9308537051eedd9cff344301056b0728200f497d 100644
(file)
--- a/
aout.c
+++ b/
aout.c
@@
-69,7
+69,7
@@
static unsigned char *write_relocs_for_section (unsigned char *pos, struct secti
symbol = symbol_find (symbol->name);
- if (strcmp (symbol->name, "__edata") == 0 || strcmp (symbol->name, "__end") == 0) {
+ if (strcmp (symbol->name, "__e
text") == 0 || strcmp (symbol->name, "__e
data") == 0 || strcmp (symbol->name, "__end") == 0) {
continue;
}