diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2003-03-03 20:00:35 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2003-03-03 20:00:35 +0000 |
commit | e3f2db7fa69d2c1f4c7dbee442da6b262c706700 (patch) | |
tree | c1c9691a2ba1728c3b9dcaac761845c83524bd57 /ld/ChangeLog | |
parent | 832a94844fffdf222dd6726c26d2678daf440202 (diff) | |
download | gdb-e3f2db7fa69d2c1f4c7dbee442da6b262c706700.zip gdb-e3f2db7fa69d2c1f4c7dbee442da6b262c706700.tar.gz gdb-e3f2db7fa69d2c1f4c7dbee442da6b262c706700.tar.bz2 |
* ldfile.h (struct search_dirs): Added sysrooted field.
* ldlang.h (struct lang_input_statement_struct): Likewise.
* ldfile.c (ldfile_add_library_path): Mark sysrooted paths.
(ldfile_open_file_search): Look for sysrooted filename starting
with / in ld_sysroot instead of in the current directory. Clear
sysrooted flag if it's found in the current directory. Set it
from the search directory's sysrooted flag where it is found
otherwise.
* ldlang.c (ldlang_sysrooted_script): New static variable.
(new_afile): Mark search_file_enums as sysrooted if
ldlang_sysrooted_script.
(load_symbols): Set ldlang_sysrooted_script according to the
script's sysrooted field while processing it.
* ld.texinfo: Document INPUT behavior in sysroot.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 7db7e0a..fbb39f1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,20 @@ +2003-03-03 Alexandre Oliva <aoliva@redhat.com> + + * ldfile.h (struct search_dirs): Added sysrooted field. + * ldlang.h (struct lang_input_statement_struct): Likewise. + * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. + (ldfile_open_file_search): Look for sysrooted filename starting + with / in ld_sysroot instead of in the current directory. Clear + sysrooted flag if it's found in the current directory. Set it + from the search directory's sysrooted flag where it is found + otherwise. + * ldlang.c (ldlang_sysrooted_script): New static variable. + (new_afile): Mark search_file_enums as sysrooted if + ldlang_sysrooted_script. + (load_symbols): Set ldlang_sysrooted_script according to the + script's sysrooted field while processing it. + * ld.texinfo: Document INPUT behavior in sysroot. + 2003-03-02 Danny Smith <dannysmith@users.sourceforge.net> * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, |