Ignore:
Timestamp:
Mar 27, 2023, 9:58:08 PM (16 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master
Children:
60380a1
Parents:
4eebbcc
Message:

update interpose code, and document 32-bit interpose bug in glibc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/interpose_thread.cfa

    r4eebbcc re10714a  
    1414//
    1515
     16// BUG in 32-bit gcc with interpose: fixed in >= gcc-9.5, gcc-10.4, gcc-12.2
    1617#ifdef __i386__                                                                                 // 32-bit architecture
    1718#undef _GNU_SOURCE
     
    3334typedef void (* generic_fptr_t)(void);
    3435
    35 generic_fptr_t interpose_symbol(
     36generic_fptr_t libcfa_public interpose_symbol(
    3637        generic_fptr_t (*do_interpose_symbol)( void * library, const char symbol[], const char version[] ),
    3738        const char symbol[],
    3839        const char version[]
    39 ) libcfa_public {
     40) {
    4041        void * library;
    4142
Note: See TracChangeset for help on using the changeset viewer.