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] | |
We already had a TC_DWARF2_EMIT_OFFSET macro for coff objects
to emit their SECREL relocation, instead of (like elf does) an
absolute relocation against a section that's forced to VMA 0.
Except we were only using it in dwarf2dbg.c, which meant that
the generated .debug_frame section was incorrect for coff.
In addition to fixing this bug, I adjust the cfi testsuite to
use objdump instead of readelf so that it works for coff too.
Tested on x86_64-{linux,mingw32}.
r~
Attachment:
d-binu-2b
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |