mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
ld/
200x-xx-xx Richard Sandiford <richard@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * NEWS: Mention -l:foo. * ld.texinfo: Document it. * ldlang.c (new_afile): If a lang_input_file_is_l_enum entry as a name beginning with a coloh, convert it to a lang_input_file_is_search_file_enum entry without the colon. ld/testsuite/ * ld-libs/lib-1.s, ld-libs/lib-2.s, ld-libs/lib-2.d, * ld-libs/libs.exp: New files.
This commit is contained in:
@ -913,6 +913,14 @@ new_afile (const char *name,
|
||||
lang_has_input_file = TRUE;
|
||||
p->target = target;
|
||||
p->sysrooted = FALSE;
|
||||
|
||||
if (file_type == lang_input_file_is_l_enum
|
||||
&& name[0] == ':' && name[1] != '\0')
|
||||
{
|
||||
file_type = lang_input_file_is_search_file_enum;
|
||||
name = name + 1;
|
||||
}
|
||||
|
||||
switch (file_type)
|
||||
{
|
||||
case lang_input_file_is_symbols_only_enum:
|
||||
|
Reference in New Issue
Block a user