This is the mail archive of the binutils@sourceware.org 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] | |
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
Attachment:
signature.asc
Description: This is a digitally signed message part.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |