summaryrefslogtreecommitdiff
path: root/gcc/mips-tdump.c
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-13 17:02:41 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-13 17:02:41 +0000
commitd9a91bc56a866935bee26a14b3ac234a09997e62 (patch)
tree00acf6ec35ebc6424cc98a0658aae321221cece0 /gcc/mips-tdump.c
parentf009008af3307277776d7b4253e99f3bb0b2e968 (diff)
downloadgcc-d9a91bc56a866935bee26a14b3ac234a09997e62.tar.gz
Fix printing multiple file section.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3224 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mips-tdump.c')
-rw-r--r--gcc/mips-tdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/mips-tdump.c b/gcc/mips-tdump.c
index 37134aa3a5c..b0c0d8ad242 100644
--- a/gcc/mips-tdump.c
+++ b/gcc/mips-tdump.c
@@ -1204,7 +1204,7 @@ print_file_desc (fdp, number)
(ulong) fdp->crfd,
(ulong) fdp->rfdBase);
- rfd_ptr = rfile_desc + fdp->rfdBase * sizeof (ulong);
+ rfd_ptr = rfile_desc + fdp->rfdBase;
for (i = 0; i < fdp->crfd; i++)
{
printf ("\t#%-5ld %11ld, 0x%08lx\n", i, *rfd_ptr, *rfd_ptr);