* bfd.c (bfd_scan_vma): Pass end argument on to strtoul.

This commit is contained in:
Ian Lance Taylor 1994-10-13 18:41:39 +00:00
parent f608f62e26
commit 82735983df
2 changed files with 23 additions and 4 deletions

View File

@ -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.

View File

@ -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))
.
*/