Skip to content
Commit 5355f9ca authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

elf: Remove -fno-tree-loop-distribute-patterns usage on dl-support



Besides the option being gcc specific, this approach is still fragile
and not future proof since we do not know if this will be the only
optimization option gcc will add that transforms loops to memset
(or any libcall).

This patch adds a new header, dl-symbol-redir-ifunc.h, that can b
used to redirect the compiler generated libcalls to port the generic
memset implementation if required.

Checked on x86_64-linux-gnu and aarch64-linux-gnu.
Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent c15318bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment