From: "Brooks, John" <jbrooks@ea.com>
To: "Gas2 @ Cygnus" <gas2@cygnus.com>
Subject: Warning about backwards Orgs
Date: Tue, 14 Mar 1995 14:38:00 -0000 [thread overview]
Message-ID: <2F661AC6@pcsmtp.ea.com> (raw)
I have a patch for gas (made to the version released with
binutils-2.5.2) which displays a warning when an Org fails (due to trying
to org backwards).
I am unfamiliar with patch submission protocol, but the patch follows
for those who are interested:
FILE: write.c
FUNCTION: cvt_frag_to_fill
ORIGINAL CODE:
case rs_org:
#ifdef HANDLE_ALIGN
HANDLE_ALIGN (fragP);
#endif
fragP->fr_type = rs_fill;
know (fragP->fr_next != NULL);
PATCHED CODE:
case rs_org:
#ifdef HANDLE_ALIGN
HANDLE_ALIGN (fragP);
#endif
know (fragP->fr_next != NULL);
if ( fragP->fr_type == rs_org)
{
if ( fragP->fr_offset < fragP->fr_next->fr_address)
as_warn ("Org failed! Org address changed from 0x%08X to 0x%08X\n",
fragP->fr_offset, fragP->fr_next->fr_address);
}
fragP->fr_type = rs_fill;
-----------------------------------------------------------------------
John Brooks email: jbrooks@ea.com
Technical Director - Coin-Op Division Phone: 415-513-7736
Electronic Arts Fax:
415-513-7449
next reply other threads:[~1995-03-14 14:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-03-14 14:38 Brooks, John [this message]
1995-03-14 15:08 Ken Raeburn
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=2F661AC6@pcsmtp.ea.com \
--to=jbrooks@ea.com \
--cc=gas2@cygnus.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).