This is the mail archive of the gcc-patches@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: [patch] Fix PR ada/23957


> On Sun, Sep 18, 2005 at 07:07:10PM -0400, John David Anglin wrote:
> > 	PR ada/23957
> > 	* misc.c (gnat_init_gcc_eh): Call assemble_external_libcall.
> 
> Not ok.
> 
> For sjlj, this should happen in sjlj_emit_function_enter.
> 
> If dwarf2, it looks like we forget to do it.  We could move the call
> in output_function_exception_table outside the TARGET_UNWIND ifdef...

This doesn't work.  There's no .IMPORT for it in the .s.  Not sure
why at the moment, although the define for ASM_OUTPUT_EXTERNAL_LIBCALL
assumes assemble_external_libcall is called before the symbol is used.

Symbols from a-caldel.o:

  Value    Info   Type  Scope ck HQIRCDSKLN xl reloc Name

...
00000000 00000000 Data  Unsat  0 ..........  3 00000 __gnat_eh_personality

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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