* linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to
warning callback.
This commit is contained in:
parent
20a753dfd5
commit
4ca6381165
|
@ -1,4 +1,4 @@
|
||||||
Thu Sep 7 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>
|
Thu Sep 12 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>
|
||||||
|
|
||||||
* coffcode.h (coff_compute_section_file_positions): Keep the
|
* coffcode.h (coff_compute_section_file_positions): Keep the
|
||||||
raw size safe.
|
raw size safe.
|
||||||
|
@ -10,6 +10,9 @@ Thu Sep 7 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>
|
||||||
|
|
||||||
Tue Sep 12 12:14:33 1995 Ian Lance Taylor <ian@cygnus.com>
|
Tue Sep 12 12:14:33 1995 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* linker.c (_bfd_generic_link_add_one_symbol): Pass symbol name to
|
||||||
|
warning callback.
|
||||||
|
|
||||||
* dep-in.sed: Remove config.h from generated dependencies.
|
* dep-in.sed: Remove config.h from generated dependencies.
|
||||||
|
|
||||||
* sunos.c (sunos_slurp_dynamic_symtab): New static function,
|
* sunos.c (sunos_slurp_dynamic_symtab): New static function,
|
||||||
|
|
|
@ -1753,7 +1753,7 @@ _bfd_generic_link_add_one_symbol (info, abfd, name, flags, section, value,
|
||||||
/* Issue a warning and cycle. */
|
/* Issue a warning and cycle. */
|
||||||
if (h->u.i.warning != NULL)
|
if (h->u.i.warning != NULL)
|
||||||
{
|
{
|
||||||
if (! (*info->callbacks->warning) (info, h->u.i.warning,
|
if (! (*info->callbacks->warning) (info, h->u.i.warning, name,
|
||||||
abfd, (asection *) NULL,
|
abfd, (asection *) NULL,
|
||||||
(bfd_vma) 0))
|
(bfd_vma) 0))
|
||||||
return false;
|
return false;
|
||||||
|
@ -1777,7 +1777,7 @@ _bfd_generic_link_add_one_symbol (info, abfd, name, flags, section, value,
|
||||||
|
|
||||||
case WARN:
|
case WARN:
|
||||||
/* Issue a warning. */
|
/* Issue a warning. */
|
||||||
if (! (*info->callbacks->warning) (info, string,
|
if (! (*info->callbacks->warning) (info, string, name,
|
||||||
hash_entry_bfd (h),
|
hash_entry_bfd (h),
|
||||||
(asection *) NULL, (bfd_vma) 0))
|
(asection *) NULL, (bfd_vma) 0))
|
||||||
return false;
|
return false;
|
||||||
|
@ -1791,7 +1791,7 @@ _bfd_generic_link_add_one_symbol (info, abfd, name, flags, section, value,
|
||||||
ensure this. */
|
ensure this. */
|
||||||
if (h->next != NULL || info->hash->undefs_tail == h)
|
if (h->next != NULL || info->hash->undefs_tail == h)
|
||||||
{
|
{
|
||||||
if (! (*info->callbacks->warning) (info, string,
|
if (! (*info->callbacks->warning) (info, string, name,
|
||||||
hash_entry_bfd (h),
|
hash_entry_bfd (h),
|
||||||
(asection *) NULL,
|
(asection *) NULL,
|
||||||
(bfd_vma) 0))
|
(bfd_vma) 0))
|
||||||
|
|
Loading…
Reference in New Issue