aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-02-06 16:03:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-02-06 16:03:52 +0000
commitea0c3cd5bd81fb9b59d14d4f6ee033740a7f1c22 (patch)
treecbf2c0f1666edefcfe6b595f67706b7fff619b0f
parentcc9fe4437ed8596e01932a01b35ceedc607d6394 (diff)
downloadgdb-ea0c3cd5bd81fb9b59d14d4f6ee033740a7f1c22.zip
gdb-ea0c3cd5bd81fb9b59d14d4f6ee033740a7f1c22.tar.gz
gdb-ea0c3cd5bd81fb9b59d14d4f6ee033740a7f1c22.tar.bz2
2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (lang_size_sections_1): Add a missing `)'.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/ldlang.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c7eade5..c8ce911 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,10 @@
+2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ldlang.c (lang_size_sections_1): Add a missing `)'.
+
2007-02-06 Alan Modra <amodra@bigpond.net.au>
+ PR ld/3966
* ldlang.c (lang_size_sections_1): Don't warn on backwards dot
move unless section size is non-zero.
diff --git a/ld/ldlang.c b/ld/ldlang.c
index ac680a5..8a69c70 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -4468,7 +4468,7 @@ lang_size_sections_1
&& os->bfd_section->vma != os->bfd_section->lma)
|| (r->last_os != NULL
&& dot >= (r->last_os->output_section_statement
- .bfd_section->vma))
+ .bfd_section->vma)))
&& os->lma_region == NULL
&& !link_info.relocatable)
r->last_os = s;