This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems building GNAT on OS X with top-of-tree
- From: Dale Johannesen <dalej at apple dot com>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: Dale Johannesen <dalej at apple dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 16 Oct 2002 09:46:33 -0700
- Subject: Re: Problems building GNAT on OS X with top-of-tree
On Tuesday, October 15, 2002, at 06:32 PM, Geert Bosch wrote:
a-except.s:unknown:Can't emit reloc {- symbol "L42$pb"} @ file address
5464.
I guess this refers to code like:
addis
r9,r31,ha16(L_system__soft_links__get_jmpbuf_address$non_lazy_ptr-
L42$pb)
lwz
r9,lo16(L_system__soft_links__get_jmpbuf_address$non_lazy_ptr-
L42$pb)(r9)
The code you quote here looks correct. Probably the definition of
L42$pb
is missing; it should be near the top of the function. The RTL for it
should be generated by gen_load_macho_picbase() called from
rs6000_emit_prologue().