[PATCH 04/12] bfd/ * bfd/elf32-microblaze.c: Correct adjustment of global symbols
Mike Frysinger
vapier@gentoo.org
Wed Oct 10 18:05:00 GMT 2012
On Tuesday 09 October 2012 22:13:57 david.holsgrove@xilinx.com wrote:
> --- a/bfd/elf32-microblaze.c
> +++ b/bfd/elf32-microblaze.c
> @@ -1256,6 +1256,31 @@ microblaze_elf_relocate_section (bfd *output_bfd,
>
> /* Calculate fixup value for reference. */
>
> +#define D(x)
i'm not sure if we have a debugging facility in bfd already, but assuming we
don't, write this instead as:
#define D(x) do { if (0) x; } while (0)
that way the code will always get compiled and you'll notice problems in the
message over time as code changes.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://sourceware.org/pipermail/binutils/attachments/20121010/924d93ae/attachment.sig>
More information about the Binutils
mailing list