[PATCH] Add FreeBSD header to elf64-sparc
Mike Frysinger
vapier@gentoo.org
Thu Oct 19 06:55:00 GMT 2006
On Wednesday 18 October 2006 10:26, Nick Clifton wrote:
> > - if (strcmp (*l, "elf64-sparc") == 0)
> > + if (strncmp (*l, "elf64-sparc", 11) == 0)
>
> We now have the funky CONST_STRNEQ macro (defined in bfd-in.h) for
> performing a strncmp against a constant string without having to count
> exactly how many characters it contains.
thanks for the tip ... ive check in the updated attached patch
side note, useful to update tc-i386.c with the CONST_STRNEQ changes as well ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20061019/7b359969/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-freebsd-sparc64-support.patch
Type: text/x-diff
Size: 6339 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20061019/7b359969/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-i386-CONST_STRNEQ.patch
Type: text/x-diff
Size: 710 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20061019/7b359969/attachment-0001.bin>
More information about the Binutils
mailing list