aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSriraman Tallam <tmsriram@google.com>2009-08-07 18:48:44 +0000
committerSriraman Tallam <tmsriram@google.com>2009-08-07 18:48:44 +0000
commitddd3c53c3d15eefc6edb664887eba9502eda5c44 (patch)
tree2f4c8700fb2f0cfabbe1cc76d52571eca5d2415b
parent277210621532e70db4d9cdebce345d1c7846dacf (diff)
downloadgdb-ddd3c53c3d15eefc6edb664887eba9502eda5c44.zip
gdb-ddd3c53c3d15eefc6edb664887eba9502eda5c44.tar.gz
gdb-ddd3c53c3d15eefc6edb664887eba9502eda5c44.tar.bz2
*** empty log message ***
-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