mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-02 02:45:37 +08:00
* ldlang.c (lookup_name): Set BFD GP size to -G argument value
after opening BFD.
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user