aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2009-02-09 14:46:40 +0000
committerNathan Sidwell <nathan@codesourcery.com>2009-02-09 14:46:40 +0000
commit662ef24b70042a486b270d17707eb2fe1790f4a2 (patch)
tree02aab204a71d21f70b2756028cc3b1d0882daa6b /ld/ldlang.c
parent3209bffac6eaeeb5d57d15c595802dcbf8d69b69 (diff)
downloadgdb-662ef24b70042a486b270d17707eb2fe1790f4a2.zip
gdb-662ef24b70042a486b270d17707eb2fe1790f4a2.tar.gz
gdb-662ef24b70042a486b270d17707eb2fe1790f4a2.tar.bz2
Missing piece of 2009-01-26 commit
* ldlang.c (lang_process): Don't consider relocatable flag when checking for overlap.
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 ();