This is the mail archive of the
mailing list for the GCC project.
Re: arm constant pool problems
- To: Philip Blundell <philb at gnu dot org>
- Subject: Re: arm constant pool problems
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 18 Sep 2000 09:55:42 -0600
- cc: richard dot earnshaw at arm dot com, gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <E13aQfL-0008FBfirstname.lastname@example.org>you write:
> This is a multipart MIME message.
> Content-Type: text/plain; charset=us-ascii
> Nicholas Clark sent me the appended testcase. With -O -fpic on arm-linux,
> mainline compiler was generating bad assembly (also appended):
> /tmp/cc7wB4Hi.s: Assembler messages:
> /tmp/cc7wB4Hi.s:4391: Error: Illegal value for co-processor offset
> I think this is caused by a missing check in add_minipool_backward_ref.
> minipool_barrier->address is, effectively, the address of the last word in
> pool. For constants of more than one word, it may be necessary to reach lo
> addresses than this.
> 2000-09-16 Philip Blundell <email@example.com>
> * config/arm/arm.c (add_minipool_backward_ref): Check that the
> entire object will be reachable in the constant pool.
Note you and Bernd posted different patches to fix problems in constant
pool generation on the ARM. You might want to see if one of your patches
fixes both problems.