public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "hjl.tools at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/47446] [x32] .quad instead of .long is used for address Date: Fri, 11 Mar 2011 21:24:00 -0000 [thread overview] Message-ID: <bug-47446-4-Cb3J2tEU6E@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-47446-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47446 --- Comment #4 from H.J. Lu <hjl.tools at gmail dot com> 2011-03-11 21:24:44 UTC --- Another one: /usr/gcc-4.6.0-x32/bin/gcc -S -o x.s -mx32 -funroll-all-loops -O3 -dp x.i /usr/gcc-4.6.0-x32/bin/gcc -mx32 -funroll-all-loops -O3 -dp -c -o x.o x.s x.s: Assembler messages: x.s:25: Error: cannot represent relocation type BFD_RELOC_64 in x32 mode make: *** [x.o] Error 1 gnu-6:pts/3[86]> bash ~/bugs/gcc/ilp32-30 [hjl@gnu-6 ilp32-30]$ cat x.i extern char inbuf[]; extern char outbuf[]; extern unsigned insize; extern unsigned inptr; static int max_len; static int peek_bits; void build_tree() { int len; char *prefixp; max_len = inbuf[inptr++]; peek_bits = ((max_len) <= (12) ? (max_len) : (12)); prefixp = &outbuf[1<<peek_bits]; for (len = 1; len <= peek_bits; len++) { } while (prefixp > outbuf) *--prefixp = 0; } [hjl@gnu-6 ilp32-30]$ make /usr/gcc-4.6.0-x32/bin/gcc -mx32 -funroll-all-loops -O3 -dp -c -o x.o x.s x.s: Assembler messages: x.s:25: Error: cannot represent relocation type BFD_RELOC_64 in x32 mode make: *** [x.o] Error 1 [hjl@gnu-6 ilp32-30]$
next prev parent reply other threads:[~2011-03-11 21:24 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-24 21:16 [Bug target/47446] New: " hjl.tools at gmail dot com 2011-01-24 21:22 ` [Bug target/47446] " hjl at gcc dot gnu.org 2011-01-25 22:31 ` hjl.tools at gmail dot com 2011-01-25 22:33 ` hjl at gcc dot gnu.org 2011-03-11 21:24 ` hjl.tools at gmail dot com [this message] 2011-03-11 23:13 ` hjl at gcc dot gnu.org 2011-07-26 14:33 ` hjl.tools at gmail dot com 2011-07-27 4:20 ` hjl.tools at gmail dot com 2011-07-27 4:24 ` hjl.tools at gmail dot com 2011-08-06 14:37 ` hjl at gcc dot gnu.org
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=bug-47446-4-Cb3J2tEU6E@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).