CVSROOT: /cvs/src Module name: src Changes by: <email address hidden> 2012-03-08 05:29:33
Modified files: ld : ChangeLog ldfile.c ldfile.h ldlang.c ldlang.h ldlex.h ldlex.l
Log message: 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.
Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2416&r2=1.2417 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldfile.c.diff?cvsroot=src&r1=1.65&r2=1.66 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldfile.h.diff?cvsroot=src&r1=1.19&r2=1.20 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&r1=1.385&r2=1.386 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlang.h.diff?cvsroot=src&r1=1.102&r2=1.103 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlex.h.diff?cvsroot=src&r1=1.9&r2=1.10 http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlex.l.diff?cvsroot=src&r1=1.54&r2=1.55
CVSROOT: /cvs/src
Module name: src
Changes by: <email address hidden> 2012-03-08 05:29:33
Modified files:
ldlex. h ldlex.l
ld : ChangeLog ldfile.c ldfile.h ldlang.c ldlang.h
Log message: pathname) : Remove notsame param. add_library_ path): Don't set sysrooted flag. open_file_ search) : Likewise, and don't copy them. find_command_ file): Delete extend param. Add sysrooted open_command_ file_1) : Pass sysrooted to lex_push_file. sysrooted. statement_ flags): Revise sysrooted sysrooted. flags.sysrooted .
PR ld/10340
* ldfile.c (is_sysrooted_
(ldfile_
(ldfile_
(try_open): Delete exten and code handling such. Add sysrooted
param and return whether path is in sysroot.
(ldfile_
param. Rename local var. Update try_open calls.
(ldfile_
* 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.
* ldlang.h (struct lang_input_
comment.
* ldlex.h (lex_push_file): Update prototype.
* ldlex.l (sysrooted_stack): New array.
(EOF): Pop input_flags.
(lex_push_file): Add sysrooted param. Save and set
input_
Patches: sourceware. org/cgi- bin/cvsweb. cgi/src/ ld/ChangeLog. diff?cvsroot= src&r1= 1.2416& r2=1.2417 sourceware. org/cgi- bin/cvsweb. cgi/src/ ld/ldfile. c.diff? cvsroot= src&r1= 1.65&r2= 1.66 sourceware. org/cgi- bin/cvsweb. cgi/src/ ld/ldfile. h.diff? cvsroot= src&r1= 1.19&r2= 1.20 sourceware. org/cgi- bin/cvsweb. cgi/src/ ld/ldlang. c.diff? cvsroot= src&r1= 1.385&r2= 1.386 sourceware. org/cgi- bin/cvsweb. cgi/src/ ld/ldlang. h.diff? cvsroot= src&r1= 1.102&r2= 1.103 sourceware. org/cgi- bin/cvsweb. cgi/src/ ld/ldlex. h.diff? cvsroot= src&r1= 1.9&r2= 1.10 sourceware. org/cgi- bin/cvsweb. cgi/src/ ld/ldlex. l.diff? cvsroot= src&r1= 1.54&r2= 1.55
http://
http://
http://
http://
http://
http://
http://