From 662ef24b70042a486b270d17707eb2fe1790f4a2 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 9 Feb 2009 14:46:40 +0000 Subject: Missing piece of 2009-01-26 commit * ldlang.c (lang_process): Don't consider relocatable flag when checking for overlap. --- ld/ldlang.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ld/ldlang.c') 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 (); -- cgit v1.1