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]

[Patch (z80, committed): fix parsing of stabs symbols by z80-objdump


Hi,

I have discovered that objdump for target z80 could not parse stabs debugging
 symbols in object files.
I have committed the following patch to solve this problem.

Regards,
Arnold Metselaar

bfd/ChangeLog:
       * coff-z80.c (r_imm32): Fix copy-paste bug that caused z80-objdump to
       issue warnings about stabs debugging symbols rather than to show them.
Index: bfd/coff-z80.c
===================================================================
RCS file: /cvs/src/src/bfd/coff-z80.c,v
retrieving revision 1.7
diff -u -p -r1.7 coff-z80.c
--- bfd/coff-z80.c	18 Jul 2008 11:30:22 -0000	1.7
+++ bfd/coff-z80.c	29 Dec 2008 17:01:18 -0000
@@ -30,7 +30,7 @@
 #define COFF_DEFAULT_SECTION_ALIGNMENT_POWER 0
 
 static reloc_howto_type r_imm32 =
-HOWTO (R_IMM32, 0, 1, 32, FALSE, 0,
+HOWTO (R_IMM32, 0, 2, 32, FALSE, 0,
        complain_overflow_dont, 0, "r_imm32", TRUE, 0xffffffff, 0xffffffff,
        FALSE);
 

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