diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-10-13 18:41:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-10-13 18:41:39 +0000 |
commit | 82735983dfe1571a89b740e459a09088e8a2c9d8 (patch) | |
tree | ecc5858841499cdf4a0a70390e20d32b7467e2f3 /bfd/bfd.c | |
parent | f608f62e26bb8286b9dffa6e424e5fdf150a2aa3 (diff) | |
download | gdb-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.c | 19 |
1 files changed, 17 insertions, 2 deletions
@@ -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)) +. */ |