|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug ld/25806] [ld] Search for input files relative to the current linker script |
Date: | Wed, 22 Apr 2020 15:20:54 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25806 --- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Clifton <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=161719466ac9ea5f186514312f6bce842181804f commit 161719466ac9ea5f186514312f6bce842181804f Author: Fangrui Song <address@hidden> Date: Wed Apr 22 16:20:02 2020 +0100 For relative paths in INPUT() and GROUP(), search the directory of the current linker script before searching other paths. PR ld/25806 * ldlang.h (struct lang_input_statement_struct): Add extra_search_path. * ldlang.c (current_input_file): New. (ldirname): New. (new_afile): Add from_filename parameter. Set extra_search_path. (lang_add_input_file): Pass current_input_file to new_afile. (load_symbols): Set current_input_file. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |