diff options
| -rw-r--r-- | include/sbi/sbi_visibility.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sbi/sbi_visibility.h b/include/sbi/sbi_visibility.h index e9c401c5..f900c445 100644 --- a/include/sbi/sbi_visibility.h +++ b/include/sbi/sbi_visibility.h @@ -7,10 +7,12 @@ #ifndef __SBI_VISIBILITY_H__ #define __SBI_VISIBILITY_H__ +#ifndef __DTS__ /* * Declare all global objects with hidden visibility so access is PC-relative * instead of going through the GOT. */ #pragma GCC visibility push(hidden) +#endif #endif |
