This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gas attempting to assemble non-existent file


$ gas/as-new -o foo non-existent-file.s
Assembler messages:
Can't open non-existent-file.s for reading: No such file or directory
$ echo $?
0
$ ls -l foo
-rw-r--r-- 1 alan users 441 2006-09-12 15:39 foo

Seems to me we ought to return a non-zero exit status and delete the
output.  Am I missing something?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]