__builtin_return_address in dlsym.c

Andreas Jaeger aj@suse.de
Tue Jul 18 01:25:00 GMT 2000


>>>>> Ulrich Drepper writes:

 > schwidefsky@de.ibm.com writes:
>> __builtin_extract_return_addr(__builtin_return_address(?)).

 > Which is the first gcc version supporting
 > __builtin_extract_return_addr?  There must be a check there if any of
 > the versions we support does not have it.

cvs annotate of c-decl.c gives:
1.4          (jason    16-Sep-97):   builtin_function ("__builtin_extract_return_addr", ptr_ftype_ptr,

So it should work with all supported gcc versions: 
revision 1.4
date: 1997/09/16 02:07:07;  author: jason;  state: Exp;  lines: +36 -1
dwarf2 EH support

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de


More information about the Libc-alpha mailing list