aboutsummaryrefslogtreecommitdiff
path: root/ld/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-03-08 05:29:33 +0000
committerAlan Modra <amodra@gmail.com>2012-03-08 05:29:33 +0000
commitf4a23d427dc7ac56aa4de7a8d29e899e936ce841 (patch)
tree18bc44195d1ed303ffa9a5daef8e33eae320a256 /ld/ChangeLog
parent4e3aa408903f6f4ed9177fff7def91fe6bb8fd2b (diff)
downloadgdb-f4a23d427dc7ac56aa4de7a8d29e899e936ce841.zip
gdb-f4a23d427dc7ac56aa4de7a8d29e899e936ce841.tar.gz
gdb-f4a23d427dc7ac56aa4de7a8d29e899e936ce841.tar.bz2
PR ld/10340
* ldfile.c (is_sysrooted_pathname): Remove notsame param. (ldfile_add_library_path): Don't set sysrooted flag. (ldfile_open_file_search): Likewise, and don't copy them. (try_open): Delete exten and code handling such. Add sysrooted param and return whether path is in sysroot. (ldfile_find_command_file): Delete extend param. Add sysrooted param. Rename local var. Update try_open calls. (ldfile_open_command_file_1): Pass sysrooted to lex_push_file. * ldfile.h (search_dirs_type): Remove sysrooted field. * ldlang.c (new_afile): Always set sysrooted from input_flags. (load_symbols): Don't set input_flags.sysrooted. * ldlang.h (struct lang_input_statement_flags): Revise sysrooted comment. * ldlex.h (lex_push_file): Update prototype. * ldlex.l (sysrooted_stack): New array. (EOF): Pop input_flags.sysrooted. (lex_push_file): Add sysrooted param. Save and set input_flags.sysrooted.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog22
1 files changed, 22 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8446bc7..a0a0d2b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,25 @@
+2012-03-08 Alan Modra <amodra@gmail.com>
+
+ PR ld/10340
+ * ldfile.c (is_sysrooted_pathname): Remove notsame param.
+ (ldfile_add_library_path): Don't set sysrooted flag.
+ (ldfile_open_file_search): Likewise, and don't copy them.
+ (try_open): Delete exten and code handling such. Add sysrooted
+ param and return whether path is in sysroot.
+ (ldfile_find_command_file): Delete extend param. Add sysrooted
+ param. Rename local var. Update try_open calls.
+ (ldfile_open_command_file_1): Pass sysrooted to lex_push_file.
+ * ldfile.h (search_dirs_type): Remove sysrooted field.
+ * ldlang.c (new_afile): Always set sysrooted from input_flags.
+ (load_symbols): Don't set input_flags.sysrooted.
+ * ldlang.h (struct lang_input_statement_flags): Revise sysrooted
+ comment.
+ * ldlex.h (lex_push_file): Update prototype.
+ * ldlex.l (sysrooted_stack): New array.
+ (EOF): Pop input_flags.sysrooted.
+ (lex_push_file): Add sysrooted param. Save and set
+ input_flags.sysrooted.
+
2012-03-06 Alan Modra <amodra@gmail.com>
* ldlang.h (struct lang_input_statement_flags): New, extract from..