projects
/
slink.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25fc229
)
Don't forget I386 ELF
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 20 Jun 2026 18:31:55 +0000
(19:31 +0100)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Sat, 20 Jun 2026 18:31:55 +0000
(19:31 +0100)
link.c
patch
|
blob
|
history
diff --git
a/link.c
b/link.c
index a453b5bb302a64a50f176d68e25f411b14e62de1..6250ccc92302f6bc6006ff97d08d8a47bcae6c62 100644
(file)
--- a/
link.c
+++ b/
link.c
@@
-959,7
+959,7
@@
static void calculate_entry_point (void) {
if (!state->entry_symbol_name) {
- if (state->format == LD_FORMAT_IA16_ELKS || state->format == LD_FORMAT_I386_AOUT || state->format == LD_FORMAT_I386_AXE || state->format == LD_FORMAT_I386_ELKS) {
+ if (state->format == LD_FORMAT_IA16_ELKS || state->format == LD_FORMAT_I386_AOUT || state->format == LD_FORMAT_I386_AXE || state->format == LD_FORMAT_I386_EL
F || state->format == LD_FORMAT_I386_EL
KS) {
state->entry_symbol_name = xstrdup ("_start");