This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Wrong return value?
- From: Øyvind Hvamstad <oyvind at hvamstad dot net>
- To: binutils at sources dot redhat dot com
- Date: Wed, 01 Jun 2005 13:05:18 +0200
- Subject: Wrong return value?
Hi, when objcopy in the 2.16 version of binutils tries to write a
section to a file without the write permissions set, zero is set as the
return code although it prints an error message "Permission denied".
Earlier versions of objcopy disregarded the missing write permission bit
and added the section to the header anyway.
--
Øyvind Hvamstad <oyvind@hvamstad.net>