This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [RFC] Add IFUNC support for MIPS (v3)


Faraz Shahbazker <faraz.shahbazker@imgtec.com> writes:

> +  if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_SYMBOLS, 0))

__builtin_expect -> __glibc_unlikely

> +  if (__builtin_expect (r_type == R_MIPS_IRELATIVE, 1))

__builtin_expect -> __glibc_likely

> +      if (__glibc_likely(ref != NULL))					  \

Space before paren.

> +      if (__glibc_likely(map->l_info[DT_MIPS (GENERAL_GOTNO)] != NULL))

Space before paren.

> +      if (sym != NULL
> +          && __builtin_expect (ELFW(ST_TYPE) (sym->st_info)
> +              == STT_GNU_IFUNC, 0))

__builtin_expect -> __glibc_unlikely and indentation.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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