glibc/stdlib
Adhemerval Zanella a2b0ff98a0 include/sys/cdefs.h: Add __attribute_optimization_barrier__
Add __attribute_optimization_barrier__ to disable inlining and cloning on a
function.  For Clang, expand it to

__attribute__ ((optnone))

Otherwise, expand it to

__attribute__ ((noinline, clone))

Co-Authored-By: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
2024-12-23 06:28:55 +08:00
..
bits Fix name space violation in fortify wrappers (bug 32052) 2024-08-05 16:49:58 +02:00
sys
Depend
Makefile powerpc: Use correct procedure call standard for getrandom vDSO call (bug 32440) 2024-12-11 17:49:04 +01:00
Versions
a64l.c
abort.c stdlib: Make abort/_Exit AS-safe (BZ 26275) 2024-10-08 14:40:12 -03:00
abs.c
add_n.c
addmul_1.c
alloca.h
arc4random.c
arc4random_uniform.c
at_quick_exit.c
atexit.c
atof.c
atoi.c
atol.c
atoll.c
bsearch.c
bug-fmtmsg1.c
bug-getcontext.c Remove nios2-linux-gnu 2024-11-28 14:03:25 -03:00
bug-strtod.c
bug-strtod2.c
canonicalize.c
cmp.c
cxa_at_quick_exit.c
cxa_atexit.c
cxa_finalize.c
cxa_thread_atexit_impl.c
dbl2mpn.c
div.c
divmod_1.c
divrem.c
drand48-iter.c
drand48.c
drand48_r.c
erand48.c
erand48_r.c
errno.h
exit.c stdlib: Allow concurrent quick_exit (BZ 31997) 2024-08-05 17:07:57 -03:00
exit.h
fmtmsg.c
fmtmsg.h
fpioconst.c
fpioconst.h
gen-fpioconst.c
gen-tst-strtod-round.c More thoroughly test underflow / errno in tst-strtod-round 2024-08-27 12:38:01 +00:00
getcontext.c
getentropy.c
getenv.c stdlib: Make getenv thread-safe in more cases 2024-11-21 21:10:52 +01:00
getrandom.c
getsubopt.c
gmp-impl.h
gmp.h
grouping.c
grouping.h
groupingwc.c
inlines.c
inttypes.h
isomac.c
jrand48.c
jrand48_r.c
l64a.c
labs.c
lcong48.c
lcong48_r.c
ldbl2mpn.c
ldiv.c
llabs.c
lldiv.c
longlong.h
lrand48.c
lrand48_r.c
lshift.c
makecontext.c
mblen.c
mbstowcs.c
mbtowc.c
mod_1.c
monetary.h
mp_clz_tab.c
mpn2dbl.c
mpn2flt.c
mpn2ldbl.c
mrand48.c
mrand48_r.c
mul.c
mul_1.c
mul_n.c
nrand48.c
nrand48_r.c
old_atexit.c
on_exit.c
putenv.c
qsort.c
quick_exit.c
rand.c
rand_r.c
random.c
random_r.c
rpmatch.c
rshift.c
secure-getenv.c
seed48.c
seed48_r.c
setcontext.c
setenv.c stdlib: Make getenv thread-safe in more cases 2024-11-21 21:10:52 +01:00
setenv.h stdlib: Make getenv thread-safe in more cases 2024-11-21 21:10:52 +01:00
srand48.c
srand48_r.c
stdbit.h
stdc_bit_ceil_uc.c
stdc_bit_ceil_ui.c
stdc_bit_ceil_ul.c
stdc_bit_ceil_ull.c
stdc_bit_ceil_us.c
stdc_bit_floor_uc.c
stdc_bit_floor_ui.c
stdc_bit_floor_ul.c
stdc_bit_floor_ull.c
stdc_bit_floor_us.c
stdc_bit_width_uc.c
stdc_bit_width_ui.c
stdc_bit_width_ul.c
stdc_bit_width_ull.c
stdc_bit_width_us.c
stdc_count_ones_uc.c
stdc_count_ones_ui.c
stdc_count_ones_ul.c
stdc_count_ones_ull.c
stdc_count_ones_us.c
stdc_count_zeros_uc.c
stdc_count_zeros_ui.c
stdc_count_zeros_ul.c
stdc_count_zeros_ull.c
stdc_count_zeros_us.c
stdc_first_leading_one_uc.c
stdc_first_leading_one_ui.c
stdc_first_leading_one_ul.c
stdc_first_leading_one_ull.c
stdc_first_leading_one_us.c
stdc_first_leading_zero_uc.c
stdc_first_leading_zero_ui.c
stdc_first_leading_zero_ul.c
stdc_first_leading_zero_ull.c
stdc_first_leading_zero_us.c
stdc_first_trailing_one_uc.c
stdc_first_trailing_one_ui.c
stdc_first_trailing_one_ul.c
stdc_first_trailing_one_ull.c
stdc_first_trailing_one_us.c
stdc_first_trailing_zero_uc.c
stdc_first_trailing_zero_ui.c
stdc_first_trailing_zero_ul.c
stdc_first_trailing_zero_ull.c
stdc_first_trailing_zero_us.c
stdc_has_single_bit_uc.c
stdc_has_single_bit_ui.c
stdc_has_single_bit_ul.c
stdc_has_single_bit_ull.c
stdc_has_single_bit_us.c
stdc_leading_ones_uc.c
stdc_leading_ones_ui.c
stdc_leading_ones_ul.c
stdc_leading_ones_ull.c
stdc_leading_ones_us.c
stdc_leading_zeros_uc.c
stdc_leading_zeros_ui.c
stdc_leading_zeros_ul.c
stdc_leading_zeros_ull.c
stdc_leading_zeros_us.c
stdc_trailing_ones_uc.c
stdc_trailing_ones_ui.c
stdc_trailing_ones_ul.c
stdc_trailing_ones_ull.c
stdc_trailing_ones_us.c
stdc_trailing_zeros_uc.c
stdc_trailing_zeros_ui.c
stdc_trailing_zeros_ul.c
stdc_trailing_zeros_ull.c
stdc_trailing_zeros_us.c
stdint.h
stdlib.h stdlib: Mark `abort` as `cold` 2024-07-31 14:26:00 +08:00
strfmon.c
strfmon_l.c
strfrom-skeleton.c
strfromd.c
strfromf.c
strfroml.c
strtod.c
strtod_l.c Fix strtod subnormal rounding (bug 30220) 2024-08-27 12:41:02 +00:00
strtod_nan.c
strtod_nan_main.c Do not set errno for overflowing NaN payload in strtod/nan (bug 32045) 2024-09-04 13:21:23 +00:00
strtod_nan_narrow.h
strtod_nan_wide.h
strtof.c
strtof_l.c
strtof_nan.c
strtol.c
strtol_l.c
strtold.c
strtold_l.c
strtold_nan.c
strtoll.c
strtoll_l.c
strtoul.c
strtoul_l.c
strtoull.c
strtoull_l.c
sub_n.c
submul_1.c
swapcontext.c
system.c
tens_in_limb.c
test-a64l.c
test-at_quick_exit-race.c
test-atexit-race-common.c
test-atexit-race.c
test-atexit-recursive.c
test-bz22786.c
test-canon.c
test-canon2.c
test-cxa_atexit-race.c
test-cxa_atexit-race2.c
test-dlclose-exit-race-helper.c
test-dlclose-exit-race.c
test-on_exit-race.c
testdiv.c
testdiv.input
testmb.c
testmb2.c
testrand.c
testsort.c
tst-abs.c
tst-arc4random-fork.c
tst-arc4random-stats.c
tst-arc4random-thread.c
tst-at_quick_exit.c
tst-atexit-common.c tst-atexit-common.c: Mark _exit_with_flush as noreturn 2024-12-18 01:54:26 +08:00
tst-atexit.c
tst-atof1.c
tst-atof2.c
tst-bsearch.c
tst-bz20544.c
tst-canon-bz26341.c
tst-concurrent-exit-skeleton.c stdlib: Allow concurrent quick_exit (BZ 31997) 2024-08-05 17:07:57 -03:00
tst-concurrent-exit.c stdlib: Allow concurrent quick_exit (BZ 31997) 2024-08-05 17:07:57 -03:00
tst-concurrent-quick_exit.c stdlib: Allow concurrent quick_exit (BZ 31997) 2024-08-05 17:07:57 -03:00
tst-cxa_atexit.c
tst-empty-env.c
tst-environ.c stdlib: Make getenv thread-safe in more cases 2024-11-21 21:10:52 +01:00
tst-fmtmsg.c
tst-fmtmsg.sh
tst-getenv-signal.c stdlib: Make getenv thread-safe in more cases 2024-11-21 21:10:52 +01:00
tst-getenv-thread.c stdlib: Make getenv thread-safe in more cases 2024-11-21 21:10:52 +01:00
tst-getenv-unsetenv.c stdlib: Make getenv thread-safe in more cases 2024-11-21 21:10:52 +01:00
tst-getrandom-errno.c powerpc: Use correct procedure call standard for getrandom vDSO call (bug 32440) 2024-12-11 17:49:04 +01:00
tst-getrandom.c
tst-getrandom2.c linux: Add support for getrandom vDSO 2024-11-12 14:42:12 -03:00
tst-labs.c
tst-limits.c
tst-llabs.c
tst-makecontext-align.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-makecontext.c
tst-makecontext2.c
tst-makecontext3.c
tst-on_exit.c
tst-putenv.c
tst-putenvmod.c
tst-qsort.c
tst-qsort2.c
tst-qsort3.c
tst-qsort4.c
tst-qsort6.c
tst-quick_exit.cc include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-rand48-2.c
tst-rand48.c
tst-random.c
tst-random2.c
tst-realpath-toolong.c
tst-realpath.c
tst-secure-getenv.c
tst-setcontext.c
tst-setcontext2.c
tst-setcontext3.c
tst-setcontext3.sh
tst-setcontext4.c
tst-setcontext5.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-setcontext6.c
tst-setcontext7.c
tst-setcontext8.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-setcontext9.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-setcontext10.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-setcontext11.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-stdbit-Wconversion.c
tst-stdbit-builtins.c
tst-stdbit.h
tst-stdc_bit_ceil.c
tst-stdc_bit_floor.c
tst-stdc_bit_width.c
tst-stdc_count_ones.c
tst-stdc_count_zeros.c
tst-stdc_first_leading_one.c
tst-stdc_first_leading_zero.c
tst-stdc_first_trailing_one.c
tst-stdc_first_trailing_zero.c
tst-stdc_has_single_bit.c
tst-stdc_leading_ones.c
tst-stdc_leading_zeros.c
tst-stdc_trailing_ones.c
tst-stdc_trailing_zeros.c
tst-strfmon_l.c
tst-strfrom-locale.c
tst-strfrom.c
tst-strfrom.h
tst-strtod-nan-locale-main.c
tst-strtod-nan-locale.c
tst-strtod-nan-sign-main.c
tst-strtod-nan-sign.c
tst-strtod-overflow.c
tst-strtod-round-data Fix strtod subnormal rounding (bug 30220) 2024-08-27 12:41:02 +00:00
tst-strtod-round-data.h Fix strtod subnormal rounding (bug 30220) 2024-08-27 12:41:02 +00:00
tst-strtod-round-skeleton.c More thoroughly test underflow / errno in tst-strtod-round 2024-08-27 12:38:01 +00:00
tst-strtod-round.c
tst-strtod-underflow.c Make tst-strtod-underflow type-generic 2024-09-20 23:25:32 +00:00
tst-strtod.c
tst-strtod.h
tst-strtod1i.c Make __strtod_internal tests type-generic 2024-08-27 20:41:54 +00:00
tst-strtod2.c Add tests of more strtod special cases 2024-09-20 23:24:45 +00:00
tst-strtod3.c Make __strtod_internal tests type-generic 2024-08-27 20:41:54 +00:00
tst-strtod4.c Make __strtod_internal tests type-generic 2024-08-27 20:41:54 +00:00
tst-strtod5.c Make tst-strtod2 and tst-strtod5 type-generic 2024-09-20 23:23:13 +00:00
tst-strtod5i.c Make __strtod_internal tests type-generic 2024-08-27 20:41:54 +00:00
tst-strtod6.c
tst-strtol-binary-c11.c
tst-strtol-binary-c23.c
tst-strtol-binary-gnu11.c
tst-strtol-binary-gnu23.c
tst-strtol-binary-main.c
tst-strtol-locale-main.c
tst-strtol-locale.c
tst-strtol.c
tst-strtoll.c
tst-swapcontext1.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-swapcontext2.c include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-system.c posix: fix system when a child cannot be created [BZ #32450] 2024-12-20 22:57:06 +01:00
tst-thread-quick_exit.cc include/sys/cdefs.h: Add __attribute_optimization_barrier__ 2024-12-23 06:28:55 +08:00
tst-tininess.c
tst-tls-atexit-lib.c
tst-tls-atexit-nodelete.c
tst-tls-atexit.c
tst-unsetenv1.c
tst-width-stdint.c
tst-width.c
tst-xpg-basename.c
ucontext.h
udiv_qrnnd.c
wcstombs.c
wctomb.c
xpg_basename.c