summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/libstub/hidden.h
blob: 3493b041f4192da239e41d1f8df5d5aec582b85b (plain)
1
2
3
4
5
6
/* SPDX-License-Identifier: GPL-2.0 */
/*
 * To prevent the compiler from emitting GOT-indirected (and thus absolute)
 * references to any global symbols, override their visibility as 'hidden'
 */
#pragma GCC visibility push(hidden)