This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems building GNAT on OS X with top-of-tree


On Thursday, October 17, 2002, at 01:44  PM, Geert Bosch wrote:
ali.s:unknown:Can't emit reloc {- symbol "LSJR827"} @ file address 30708.
ali.s:unknown:Can't emit reloc {- symbol "LSJR827"} @ file address 30704.
ali.s:unknown:Undefined local symbol L149$pb

The piece of assembly in question is:
LSJR827:
mflr r31
addis r31,r31,ha16(L149$pb-LSJR827)
addi r31,r31,lo16(L149$pb-LSJR827)

This reference is generated by machopic_function_base_name () in darwin.c,
but there is no documentation as to who should generate this label...
It is generated by gen_load_macho_picbase() which should be called from
rs6000_emit_prologue().


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]