diff options
author | Wedson Almeida Filho <wedsonaf@gmail.com> | 2017-04-19 18:02:53 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-04-19 20:39:53 +0930 |
commit | 101691343ce5f815dc70f6cfd083393e259a18d8 (patch) | |
tree | 0f21ac86a5877d992b283577be7e487b0e61f22b /bfd/peXXigen.c | |
parent | 954b63d4c8645f86e40c7ef6c6d60acd2bf019de (diff) | |
download | gdb-101691343ce5f815dc70f6cfd083393e259a18d8.zip gdb-101691343ce5f815dc70f6cfd083393e259a18d8.tar.gz gdb-101691343ce5f815dc70f6cfd083393e259a18d8.tar.bz2 |
Correct PE reloc display
* peXXigen.c (pe_print_reloc): Correct chunk_end.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r-- | bfd/peXXigen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c index 38571cc..da6f0a8 100644 --- a/bfd/peXXigen.c +++ b/bfd/peXXigen.c @@ -2255,7 +2255,7 @@ pe_print_reloc (bfd * abfd, void * vfile) _("\nVirtual Address: %08lx Chunk size %ld (0x%lx) Number of fixups %ld\n"), (unsigned long) virtual_address, size, size, number); - chunk_end = p + size; + chunk_end = p - 8 + size; if (chunk_end > end) chunk_end = end; j = 0; |