[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-01-21 10:24 
---
Created an attachment (id=4547)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=4547action=view)
Also continue after missing object files and missing sysrooted libraries


-- 
   What|Removed |Added

Attachment #4541 is|0   |1
   obsolete||
 AssignedTo|jg at jguk dot org  |nickc at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-01-21 10:25 
---
Hi Jon,

  Thanks for the problem report and patch.  I have taken the liberty of
extending your patch to cover a few more areas (missing object files and missing
sysrooted libraries) as well as fixing up the formatting to conform to the GNU
Coding Standards.  I am going to check in this revised patch shortly.

Cheers
  Nick


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-21 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2010-01-21 
10:31 ---
Subject: Bug 4437

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2010-01-21 10:31:32

Modified files:
ld : ChangeLog ldfile.c ldlang.c ldlang.h 

Log message:
PR 4437
* ldfile.c: (ldfile_open_file): Do not stop link upon encountering
a missing file or library.  Instead mark the entry as missing and
set the global flag to indicate that missing files were
encountered.
* ldlang.c (missing_files): New exported variable.
(load_symbols): Skip loading if the file is missing.
(open_input_bfds): Terminate link if any input files were
missing.
* ldlang.h (struct lang_input_statement_struct): Add missing_file
field.
Add export of missing_file variable.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=srcr1=1.2100r2=1.2101
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldfile.c.diff?cvsroot=srcr1=1.53r2=1.54
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=srcr1=1.327r2=1.328
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ldlang.h.diff?cvsroot=srcr1=1.87r2=1.88



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-21 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2010-01-21 10:34 
---
Patch checked in.

-- 
   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-21 Thread jg at jguk dot org

--- Additional Comments From jg at jguk dot org  2010-01-21 22:03 ---
Hi Nick. Thanks for updating for other files + applying the patch. Cheers, Jon

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-20 Thread jg at jguk dot org

--- Additional Comments From jg at jguk dot org  2010-01-20 17:18 ---
2010-01-19  Jon Grant jg at jguk org
* ldlang.h: Add missing_file flag.
* ldlang.c: Initialise missing_file flag to FALSE. In addition don't 
try use
bfd if library was missing. After checking all libraries, exit if missing_file
was set to TRUE.
* ldfile.c: Set missing_file flag TRUE when library cannot be found.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-19 Thread jg at jguk dot org


-- 
   What|Removed |Added

 AssignedTo|unassigned at sources dot   |jg at jguk dot org
   |redhat dot com  |
 Status|NEW |ASSIGNED


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-19 Thread jg at jguk dot org

--- Additional Comments From jg at jguk dot org  2010-01-19 21:50 ---
Created an attachment (id=4541)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=4541action=view)
Patch implementing this change

Apply this patch to the ld directory

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2010-01-19 Thread jg at jguk dot org

--- Additional Comments From jg at jguk dot org  2010-01-19 21:51 ---
I've implemented this feature. Please see attached patch.
Please review, and apply!

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/4437] ld check all files are present and indicate those missing

2009-03-11 Thread jrt at worldlinc dot net

--- Additional Comments From jrt at worldlinc dot net  2009-03-11 07:24 
---
Good suggestion

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4437

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils