aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd.c
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 /bfd/bfd.c
parentf608f62e26bb8286b9dffa6e424e5fdf150a2aa3 (diff)
downloadgdb-82735983dfe1571a89b740e459a09088e8a2c9d8.zip
gdb-82735983dfe1571a89b740e459a09088e8a2c9d8.tar.gz
gdb-82735983dfe1571a89b740e459a09088e8a2c9d8.tar.bz2
* bfd.c (bfd_scan_vma): Pass end argument on to strtoul.
Diffstat (limited to 'bfd/bfd.c')
-rw-r--r--bfd/bfd.c19
1 files changed, 17 insertions, 2 deletions
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))
+.
*/