From: John Wehle <john@feith.com>
To: rth@redhat.com
Cc: gcc@gcc.gnu.org, pfeifer@dbai.tuwien.ac.at, lucier@math.purdue.edu
Subject: Re: Unreviewed patch (was: another bootstrap failure onsparc-sun-solaris28 in cp/xref.o)
Date: Thu, 27 Sep 2001 13:54:00 -0000 [thread overview]
Message-ID: <200109272053.f8RKrZ802069@jwlab.FEITH.COM> (raw)
>> due to gcc outputing .uaxword which the Sun assembler dislikes when
>> targeting the 32 bit instruction set.
>
>I suspect that one can simply do
>
>#define UNALIGNED_DOUBLE_INT_ASM_OP (TARGET_ARCH64 ? ".uaxword" : NULL)
Unfortunately that doesn't suffice.
> but the patch didn't describe what caused the problem.
When compiling libobjc/linking.m the compiler outputs ".uaxword" in
order to output a double int. Changing UNALIGNED_DOUBLE_INT_ASM_OP
to return NULL when ! TARGET_ARCH64 causes the bootstrap to fail
because the dw2_asm_output_* routines assume that unaligned_integer_asm_op
always returns a string.
assemble_integer is capable of outputting unaligned integers and
knows how to output a double int even when UNALIGNED_DOUBLE_INT_ASM_OP
is NULL. The patch replaces unaligned_integer_asm_op with assemble_integer.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------
next reply other threads:[~2001-09-27 13:54 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-27 13:54 John Wehle [this message]
2001-09-27 14:15 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
2001-10-01 13:58 John Wehle
2001-09-27 17:18 John Wehle
2001-10-01 13:24 ` Brad Lucier
2001-09-27 17:13 Richard Kenner
2001-09-27 16:50 John Wehle
2001-09-27 16:56 ` Richard Henderson
2001-09-27 16:05 John Wehle
2001-09-27 16:35 ` Richard Henderson
2001-09-27 15:53 John Wehle
2001-09-27 16:34 ` Richard Henderson
2001-09-27 15:27 John Wehle
2001-09-27 15:32 ` Richard Henderson
2001-09-27 14:59 John Wehle
2001-09-27 15:14 ` Richard Henderson
2001-09-26 16:42 another bootstrap failure on sparc-sun-solaris28 in cp/xref.o Brad Lucier
2001-09-27 0:41 ` Unreviewed patch (was: another bootstrap failure onsparc-sun-solaris28in cp/xref.o) Gerald Pfeifer
2001-09-27 10:43 ` Unreviewed patch (was: another bootstrap failure onsparc-sun-solaris28 in cp/xref.o) Richard Henderson
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=200109272053.f8RKrZ802069@jwlab.FEITH.COM \
--to=john@feith.com \
--cc=gcc@gcc.gnu.org \
--cc=lucier@math.purdue.edu \
--cc=pfeifer@dbai.tuwien.ac.at \
--cc=rth@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).