aboutsummaryrefslogtreecommitdiff
path: root/bfd/peigen.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-02-28 18:56:11 +0000
committerNick Clifton <nickc@redhat.com>2000-02-28 18:56:11 +0000
commit17505c5cfa9b784633a212f56076576317140ecc (patch)
treebc26826d81e92cdfa1ea2de3ff1b6b91f3a26894 /bfd/peigen.c
parent77343c58f9a67ff5a644d6ecc1eb8ef5ba87f45a (diff)
downloadgdb-17505c5cfa9b784633a212f56076576317140ecc.zip
gdb-17505c5cfa9b784633a212f56076576317140ecc.tar.gz
gdb-17505c5cfa9b784633a212f56076576317140ecc.tar.bz2
Add WinCE support.
Diffstat (limited to 'bfd/peigen.c')
-rw-r--r--bfd/peigen.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/bfd/peigen.c b/bfd/peigen.c
index f58ba0e..639ea89 100644
--- a/bfd/peigen.c
+++ b/bfd/peigen.c
@@ -1676,18 +1676,17 @@ pe_print_reloc (abfd, vfile)
_("\treloc %4d offset %4x [%4lx] %s"),
j, off, (long) (off + virtual_address), tbl[t]);
- /* HIGHADJ takes an argument, but there's no documentation
- on what it does, or what it means. Inferred from
- DUMPBIN. */
+ /* HIGHADJ takes an argument, - the next record *is* the
+ low 16 bits of addend. */
if (t == IMAGE_REL_BASED_HIGHADJ)
{
- fprintf (file, " (%4x)\n",
+ fprintf (file, " (%4x)",
((unsigned int)
bfd_get_16 (abfd, data + i + 8 + j * 2 + 2)));
j++;
}
- else
- fprintf (file, "\n");
+
+ fprintf (file, "\n");
}
i += size;
}