diff options
-rw-r--r-- | ld/ldelf.c | 1 | ||||
-rw-r--r-- | ld/ldlang.c | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -1619,7 +1619,6 @@ ldelf_before_allocation (char *audit, char *depaudit, sizeof ehdr_start_save_u); ehdr_start->type = bfd_link_hash_defined; /* It will be converted to section-relative later. */ - ehdr_start->rel_from_abs = 1; ehdr_start->u.def.section = bfd_abs_section_ptr; ehdr_start->u.def.value = 0; } diff --git a/ld/ldlang.c b/ld/ldlang.c index 4e6511b..5dd3df1 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -7022,6 +7022,7 @@ lang_symbol_tweaks (void) h->other = (h->other & ~ELF_ST_VISIBILITY (-1)) | STV_HIDDEN; h->def_regular = 1; h->root.linker_def = 1; + h->root.rel_from_abs = 1; } } } |