From 82735983dfe1571a89b740e459a09088e8a2c9d8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 13 Oct 1994 18:41:39 +0000 Subject: * bfd.c (bfd_scan_vma): Pass end argument on to strtoul. --- bfd/ChangeLog | 8 ++++++-- bfd/bfd.c | 19 +++++++++++++++++-- 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 + + * bfd.c (bfd_scan_vma): Pass end argument on to strtoul. + Wed Oct 12 16:46:43 1994 Ken Raeburn * 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 Wed Oct 12 11:54:37 1994 Ian Lance Taylor - * 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 `<>', 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)) +. */ -- cgit v1.1