openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glibc/2.29-r0/git/elf/dl-exception.c
static void adjust_message_buffer(struct dl_exception* exception)
{
    /* If the main executable is relocated it means the libc's malloc
       is used.  */
    bool malloced = true;
#ifdef SHARED
    malloced = (GL(dl_ns)[LM_ID_BASE]._ns_loaded != NULL &&
                (GL(dl_ns)[LM_ID_BASE]._ns_loaded->l_relocated != 0));
#endif
    if (malloced)
        exception->message_buffer = (char*)exception->errstring;
    else
        exception->message_buffer = NULL;
}
/* Adjust the message buffer to indicate whether it is possible to
   free it.  EXCEPTION->errstring must be a potentially deallocatable
   pointer.  */
Adjust the message buffer to indicate whether it is possible to
free it.  EXCEPTION->errstring must be a potentially deallocatable
pointer.
Adjust the message buffer to indicate whether it is possible to free it . EXCEPTION - > errstring must be a potentially deallocatable pointer .
static void adjust_message_buffer(struct dl_exception* exception)
{
    bool malloced = true;
#ifdef SHARED
    malloced = (GL(dl_ns)[LM_ID_BASE]._ns_loaded != NULL &&
                (GL(dl_ns)[LM_ID_BASE]._ns_loaded->l_relocated != 0));
#endif
    if (malloced)
        exception->message_buffer = (char*)exception->errstring;
    else
        exception->message_buffer = NULL;
}
static void adjust_message_buffer ( struct dl_exception * exception ) { bool malloced = true ; #ifdef SHARED malloced = ( GL ( dl_ns ) [ LM_ID_BASE ] . _ns_loaded != NULL && ( GL ( dl_ns ) [ LM_ID_BASE ] . _ns_loaded -> l_relocated != 0 ) ) ; #endif if ( malloced ) exception -> message_buffer = ( char * ) exception -> errstring ; else exception -> message_buffer = NULL ; }
Adjust the message buffer to indicate whether it is possible to
free it.
Adjust the message buffer to indicate whether it is possible to free it .
/* If the main executable is relocated it means the libc's malloc
       is used.  */