aboutsummaryrefslogtreecommitdiff
path: root/ld/NEWS
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-04-22 16:20:02 +0100
committerNick Clifton <nickc@redhat.com>2020-04-22 16:20:02 +0100
commit161719466ac9ea5f186514312f6bce842181804f (patch)
tree8f5243eadc4f7266ca8362b1da384e9a9aa057c6 /ld/NEWS
parent31c89d6038f2658f5e06a762aa9e20e78e74651f (diff)
downloadgdb-161719466ac9ea5f186514312f6bce842181804f.zip
gdb-161719466ac9ea5f186514312f6bce842181804f.tar.gz
gdb-161719466ac9ea5f186514312f6bce842181804f.tar.bz2
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.
Diffstat (limited to 'ld/NEWS')
-rw-r--r--ld/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/NEWS b/ld/NEWS
index 9795b58..9f5bbe5 100644
--- a/ld/NEWS
+++ b/ld/NEWS
@@ -7,6 +7,10 @@
IMAGIC (0411) for separate instruction and data spaces, and change the
default format option for pdp11-aout to be --omagic.
+* Relative pathnames in INPUT() and GROUP() directives in linker scripts are
+ searched relative to the directory of the linker script before other search
+ paths.
+
Changes in 2.34:
* The ld check for "PHDR segment not covered by LOAD segment" is more