From: Ian Lance Taylor Date: Fri, 28 Feb 1997 22:16:45 +0000 (+0000) Subject: * targets.c (bfd_default_vector): Make non-const. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73769e1f0169f5c55faaeeff923602025682cce3;p=binutils-gdb.git * targets.c (bfd_default_vector): Make non-const. (find_target): New static function, broken out of bfd_find_target. (bfd_set_default_target): New function. (bfd_find_target): Call find_target. When defaulting, use bfd_default_vector[0] if it is not NULL. * libbfd-in.h (bfd_default_vector): Adjust declaration. * bfd-in2.h, libbfd.h: Rebuild. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 00a242943c4..ad07c2e8cb1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,14 @@ Fri Feb 28 15:06:45 1997 Ian Lance Taylor + * targets.c (bfd_default_vector): Make non-const. + (find_target): New static function, broken out of + bfd_find_target. + (bfd_set_default_target): New function. + (bfd_find_target): Call find_target. When defaulting, use + bfd_default_vector[0] if it is not NULL. + * libbfd-in.h (bfd_default_vector): Adjust declaration. + * bfd-in2.h, libbfd.h: Rebuild. + * syms.c (bfd_is_local_label): Return false if the symbol has no name. * coff-i960.c (coff_i960_is_local_label_name): New function.