On Mon, 8 Aug 2011, Rainer Orth wrote:
> * SUPPORTS_WEAK is probably best detected with autoconf.  We have
>   libgfortran/acinclude.m4 (LIBGFOR_GTHREAD_WEAK), but should probably
>   go for m4/ax_sys_weak_alias.m4 from the autoconf-archive instead.  If
>   we're lucky, that macro can detect support for weak definitions and
>   replace both SUPPORTS_WEAK and GTHREAD_USE_WEAK.
>
>   We have only 2 non-default definitions right now:
>
>   config/avr/avr.h    #define SUPPORTS_WEAK 1
>   config/cris/cris.h  #define SUPPORTS_WEAK 1
>
>   I have no idea why they are made explicit; both are already correct
>   from the default in elfos.h (ASM_WEAKEN_LABEL) from what I can see.

For CRIS, history, IIRC.  There used to be a cris-aout port as
well, which mattered in some way, and even a unified
elf-and-a.out-port.  Possibly the default SUPPORTS_WEAK was
different too then.

brgds, H-P

Reply via email to