aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 855e795..095bb3f 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -6225,8 +6225,7 @@ lang_process (void)
ldemul_finish ();
/* Make sure that the section addresses make sense. */
- if (! link_info.relocatable
- && command_line.check_section_addresses)
+ if (command_line.check_section_addresses)
lang_check_section_addresses ();
lang_end ();