diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-26 00:02:58 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2015-03-26 00:02:58 +0100 |
commit | 2c8a7766681b704e710f51c0817534e3f9a952d1 (patch) | |
tree | 241e47b7d02db7e09e8616d7c181f7e53cfce1a3 /libc/sysdeps/linux/sh/bits/fcntl.h | |
parent | 9e552e6a2d836698834d2bf887dbf1806172729f (diff) |
ldso: mark _dl_exit as noreturn
Otherwise gcc might not understand that oom() ended control-flow and
might emit an (untaken) reference to abort() in _dl_update_slotinfo()
on e.g. SH4 which breaks linking ld-uClibc.so.
Arguably -ffreestanding should prevent GCC from emitting this
'.global abort' but alas, it does not, which is another bug..
Also mark the function cold to further lower the incoming frequency and
branch probability.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/sh/bits/fcntl.h')
0 files changed, 0 insertions, 0 deletions