aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-10-13 18:41:39 +0000
committerIan Lance Taylor <ian@airs.com>1994-10-13 18:41:39 +0000
commit82735983dfe1571a89b740e459a09088e8a2c9d8 (patch)
treeecc5858841499cdf4a0a70390e20d32b7467e2f3
parentf608f62e26bb8286b9dffa6e424e5fdf150a2aa3 (diff)
downloadgdb-82735983dfe1571a89b740e459a09088e8a2c9d8.zip
gdb-82735983dfe1571a89b740e459a09088e8a2c9d8.tar.gz
gdb-82735983dfe1571a89b740e459a09088e8a2c9d8.tar.bz2
* bfd.c (bfd_scan_vma): Pass end argument on to strtoul.
-rw-r--r--bfd/ChangeLog8
-rw-r--r--bfd/bfd.c19
2 files changed, 23 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 52ad1c4..fe133b9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 13 14:40:41 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
+
+ * bfd.c (bfd_scan_vma): Pass end argument on to strtoul.
+
Wed Oct 12 16:46:43 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
* opncls.c (bfd_realloc): Deleted, since it's broken and fixing it
@@ -7,8 +11,8 @@ Wed Oct 12 16:46:43 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
Wed Oct 12 11:54:37 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
- * ecoff.c (ecoff_set_symbol_info): Mark local stProc or stLabel
- symbols as BSF_DEBUGGING.
+ * ecoff.c (ecoff_set_symbol_info): Mark local stProc, stLabel or
+ stabs symbols as BSF_DEBUGGING.
* rs6000-core.c (rs6000coff_core_file_matches_executable_p): Make
str1 and str2 const pointers.
diff --git a/bfd/bfd.c b/bfd/bfd.c
index 91bac07..b0d0a1d 100644
--- a/bfd/bfd.c
+++ b/bfd/bfd.c
@@ -38,7 +38,7 @@ CODE_FRAGMENT
. CONST char *filename;
.
. {* A pointer to the target jump table. *}
-. struct bfd_target *xvec;
+. const struct bfd_target *xvec;
.
. {* To avoid dragging too many header files into every file that
. includes `<<bfd.h>>', IOSTREAM has been declared as a "char
@@ -696,7 +696,7 @@ bfd_scan_vma (string, end, base)
/* Let the host do it if possible. */
if (sizeof(bfd_vma) <= sizeof(unsigned long))
- return (bfd_vma) strtoul (string, 0, base);
+ return (bfd_vma) strtoul (string, end, base);
/* A negative base makes no sense, and we only need to go as high as hex. */
if ((base < 0) || (base > 16))
@@ -787,6 +787,9 @@ DESCRIPTION
.#define bfd_stat_arch_elt(abfd, stat) \
. BFD_SEND (abfd, _bfd_stat_arch_elt,(abfd, stat))
.
+.#define bfd_update_armap_timestamp(abfd) \
+. BFD_SEND (abfd, _bfd_update_armap_timestamp, (abfd))
+.
.#define bfd_set_arch_mach(abfd, arch, mach)\
. BFD_SEND ( abfd, _bfd_set_arch_mach, (abfd, arch, mach))
.
@@ -809,5 +812,17 @@ DESCRIPTION
.#define bfd_free_cached_info(abfd) \
. BFD_SEND (abfd, _bfd_free_cached_info, (abfd))
.
+.#define bfd_get_dynamic_symtab_upper_bound(abfd) \
+. BFD_SEND (abfd, _bfd_get_dynamic_symtab_upper_bound, (abfd))
+.
+.#define bfd_canonicalize_dynamic_symtab(abfd, asymbols) \
+. BFD_SEND (abfd, _bfd_canonicalize_dynamic_symtab, (abfd, asymbols))
+.
+.#define bfd_get_dynamic_reloc_upper_bound(abfd) \
+. BFD_SEND (abfd, _bfd_get_dynamic_reloc_upper_bound, (abfd))
+.
+.#define bfd_canonicalize_dynamic_reloc(abfd, arels, asyms) \
+. BFD_SEND (abfd, _bfd_canonicalize_dynamic_reloc, (abfd, arels, asyms))
+.
*/