This is the mail archive of the binutils@sources.redhat.com 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]

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>


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