From: Joern Rennecke <joern.rennecke@superh.com>
To: binutils@sources.redhat.com
Subject: RFA: fix fill size output in map file for cross-linking
Date: Thu, 06 May 2004 13:57:00 -0000 [thread overview]
Message-ID: <200405061357.i46Dv4k21462@linsvr1.uk.superh.com> (raw)
The linker prints out four bytes of garbage as the top half of the size
of a fill when generating a linker map for i686-pc-linux-gnu X sh-elf .
This patch fixes it:
2004-05-06 J"orn Rennecke <joern.rennecke@superh.com>
* ldlang.c (print_padding_statement): Cast size_t to bfd_vma
before printing it with %W.
Index: ldlang.c
===================================================================
RCS file: /cvs/src/src/ld/ldlang.c,v
retrieving revision 1.143
diff -p -r1.143 ldlang.c
*** ldlang.c 30 Apr 2004 14:26:09 -0000 1.143
--- ldlang.c 6 May 2004 13:51:00 -0000
*************** print_padding_statement (lang_padding_st
*** 2490,2496 ****
addr = s->output_offset;
if (s->output_section != NULL)
addr += s->output_section->vma;
! minfo ("0x%V %W ", addr, s->size);
if (s->fill->size != 0)
{
--- 2490,2496 ----
addr = s->output_offset;
if (s->output_section != NULL)
addr += s->output_section->vma;
! minfo ("0x%V %W ", addr, (bfd_vma) s->size);
if (s->fill->size != 0)
{
next reply other threads:[~2004-05-06 13:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-06 13:57 Joern Rennecke [this message]
2004-05-07 14:51 ` Nick Clifton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200405061357.i46Dv4k21462@linsvr1.uk.superh.com \
--to=joern.rennecke@superh.com \
--cc=binutils@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).