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]

[PATCH/RFA] Fix hex number parsing in dw2gencfi.c


This patch fixes the CFI tests on i386-unknown-netbsdelf2.0. I don't know why no one else has seen this before; maybe Linux's sscanf() is more forgiving than BSD's?

OK for mainline?

        * dw2gencfi.c (cfi_parse_arg): Explicitly check for positive and
        negative hexadecimal numbers and parse them with the appropriate
        sscanf format.

-- Jason R. Thorpe <thorpej@wasabisystems.com>

Attachment: dw2gencfi-patch
Description: Binary data


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