mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-03 04:01:22 +08:00
* ld.texinfo (-L): Mention that -L options do not affect how ld
searches for a linker script unless -T option is specified. * ldfile.c (ldfile_find_command_file): Append the path obtained from the program name to the search path instead of prepending. Add a new parameter "default_only". Restrict the search to the default script location if the new parameter is true. (ldfile_open_command_file_1): New. (ldfile_open_command_file): Call ldfile_open_command_file_1. (ldfile_open_default_command_file): New.
This commit is contained in:
@ -376,7 +376,7 @@ main (int argc, char **argv)
|
||||
char *s = ldemul_get_script (&isfile);
|
||||
|
||||
if (isfile)
|
||||
ldfile_open_command_file (s);
|
||||
ldfile_open_default_command_file (s);
|
||||
else
|
||||
{
|
||||
lex_string = s;
|
||||
|
Reference in New Issue
Block a user