mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* ldmain.c (add_wrap): New function.
* ldmain.h (add_wrap): Declare. * lexsup.c (parse_args): Call add_wrap.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Wed Mar 20 16:56:15 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* ldmain.c (add_wrap): New function.
|
||||||
|
* ldmain.h (add_wrap): Declare.
|
||||||
|
* lexsup.c (parse_args): Call add_wrap.
|
||||||
|
|
||||||
Tue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com>
|
Tue Mar 19 16:44:20 1996 Doug Evans <dje@canuck.cygnus.com>
|
||||||
|
|
||||||
* configure.host (sparc*-*-solaris2* host): Accept any sparc variant.
|
* configure.host (sparc*-*-solaris2* host): Accept any sparc variant.
|
||||||
|
13
ld/lexsup.c
13
ld/lexsup.c
@ -499,18 +499,7 @@ parse_args (argc, argv)
|
|||||||
whole_archive = true;
|
whole_archive = true;
|
||||||
break;
|
break;
|
||||||
case OPTION_WRAP:
|
case OPTION_WRAP:
|
||||||
if (link_info.wrap_hash == NULL)
|
add_wrap (optarg);
|
||||||
{
|
|
||||||
link_info.wrap_hash = ((struct bfd_hash_table *)
|
|
||||||
xmalloc (sizeof (struct bfd_hash_table)));
|
|
||||||
if (! bfd_hash_table_init_n (link_info.wrap_hash,
|
|
||||||
bfd_hash_newfunc,
|
|
||||||
61))
|
|
||||||
einfo ("%P%F: bfd_hash_table_init failed: %E\n");
|
|
||||||
}
|
|
||||||
if (bfd_hash_lookup (link_info.wrap_hash, optarg, true, true)
|
|
||||||
== NULL)
|
|
||||||
einfo ("%P%F: bfd_hash_lookup failed: %E\n");
|
|
||||||
break;
|
break;
|
||||||
case 'X':
|
case 'X':
|
||||||
link_info.discard = discard_l;
|
link_info.discard = discard_l;
|
||||||
|
Reference in New Issue
Block a user