diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-01-24 19:55:02 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-01-24 19:55:02 +0000 |
commit | de08b0b153eab06bdc93d5de7705ebd1a081972f (patch) | |
tree | 1f9dceb87af181970b1a4b4c2eae80fcd3231757 /ld/ldlang.c | |
parent | eecef7ef065349e02dee4ae37535de8f9ee39985 (diff) | |
download | gdb-de08b0b153eab06bdc93d5de7705ebd1a081972f.zip gdb-de08b0b153eab06bdc93d5de7705ebd1a081972f.tar.gz gdb-de08b0b153eab06bdc93d5de7705ebd1a081972f.tar.bz2 |
* ldlang.c (lookup_name): Set BFD GP size to -G argument value
after opening BFD.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index 71a0388..aacff4b 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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); |