aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog4
-rw-r--r--gold/dynobj.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 72241b6..ec11fc5 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,7 @@
+2009-08-07 Sriraman Tallam <tmsriram@google.com>
+ * dynobj.h (Sized_dynobj::do_section_entsize): Add return to avoid
+ compiler warnings.
+
2009-08-06 Sriraman Tallam <tmsriram@google.com>
* x86_64.cc (Target_x86_64::Relocate::relocate_tls): Check for a
diff --git a/gold/dynobj.h b/gold/dynobj.h
index a15e2a4..d52974f 100644
--- a/gold/dynobj.h
+++ b/gold/dynobj.h
@@ -201,7 +201,7 @@ class Sized_dynobj : public Dynobj
// Not used for dynobj.
uint64_t
do_section_entsize(unsigned int )
- { gold_unreachable(); }
+ { gold_unreachable(); return 0; }
// Return section address.
uint64_t