* ldlang.c (lookup_name): Set BFD GP size to -G argument value

after opening BFD.
This commit is contained in:
Ian Lance Taylor 1994-01-24 19:55:02 +00:00
parent eecef7ef06
commit de08b0b153
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
Mon Jan 24 12:56:37 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* ldlang.c (lookup_name): Set BFD GP size to -G argument value
after opening BFD.
* ldlang.c (relaxing): Removed global variable.
(lang_size_sections): If the canonical symbols have not already
been read in, read them in before relaxing.

View File

@ -800,6 +800,8 @@ lookup_name (name)
else
einfo ("%F%B: file not recognized: %E\n", search->the_bfd);
bfd_set_gp_size (search->the_bfd, g_switch_value);
if (bfd_link_add_symbols (search->the_bfd, &link_info) == false)
einfo ("%F%B: could not read symbols: %E\n", search->the_bfd);