Re: [PATCH] latent_entropy: make builtin_frame_address implicit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- a/scripts/gcc-plugins/latent_entropy_plugin.c
+++ b/scripts/gcc-plugins/latent_entropy_plugin.c
@@ -446,6 +446,8 @@ static void init_local_entropy(basic_block bb, tree
local_entropy)
     frame_addr = create_var(ptr_type_node, "local_entropy_frameaddr");

     /* 2. local_entropy_frameaddr = __builtin_frame_address() */
+    if (!builtin_decl_implicit_p(BUILT_IN_FRAME_ADDRESS))
+            set_builtin_decl_implicit_p(BUILT_IN_FRAME_ADDRESS, true);

Interesting! Is this aarch64-specific or something that has changed in
more recent GCC versions?

Thanks!

-Kees


This is Android's aarch64-specific. Tested and reproduced in 8.1.
I haven't seen this problem with Linaro toolchains.

- Sahara




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux