LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 19 - gccld assumes first file is a bytecode file
Summary: gccld assumes first file is a bytecode file
Status: RESOLVED FIXED
Alias: None
Product: tools
Classification: Unclassified
Component: gccld (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: John T. Criswell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-08 09:58 PDT by John T. Criswell
Modified: 2010-03-06 14:05 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John T. Criswell 2003-10-08 09:58:50 PDT
The gccld program assumes that the first file is a bytecode file.  However, it
could be an archive file.  If it is an archive file, it complains that the
bytecode file is corrupt (which it isn't) and exits.

The gccld program should be able to link files regardless of whether they are
all archive files, object files, or some combination thereof, given in any order.
Comment 1 Brian R. Gaeke 2003-10-08 13:03:17 PDT
fix typo in summary
Comment 2 Brian R. Gaeke 2003-11-05 16:14:56 PST
-> me