+Wed Dec 13 11:07:45 1995 Kim Knuttila <krk@cygnus.com>
+
+ * coff-ppc.c (coff_ppc_relocate_section): removed debugging code.
+
Tue Dec 12 17:42:06 1995 Kim Knuttila <krk@cygnus.com>
* peicode.h (pe_print_reloc): New function to dump the .reloc section.
if (coff_data(output_bfd)->pe)
addr -= pe_data(output_bfd)->pe_opthdr.ImageBase;
+#ifdef DEBUG_RELOC
fprintf(stderr,
" Toc Section .reloc candidate addr = %x\n", addr);
-
+#endif
fwrite (&addr, 1,4, (FILE *) info->base_file);
}
+ input_section->output_offset
+ input_section->output_section->vma;
- DUMP_RELOC2(howto->name, rel);
-
if (coff_data(output_bfd)->pe)
{
bfd_vma before_addr = addr;
addr -= pe_data(output_bfd)->pe_opthdr.ImageBase;
+#ifdef DEBUG_RELOC
fprintf(stderr,
" adjusted down from %x to %x", before_addr, addr);
+#endif
}
+#ifdef DEBUG_RELOC
fprintf(stderr, "\n");
+#endif
fwrite (&addr, 1,4, (FILE *) info->base_file);
}