mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-22 12:30:08 +00:00
fix linking / compile warnings on pie/etc (#4939)
* fix linking / compile warnings on pie/etc * oops * too much nim of late * quotes
This commit is contained in:
parent
09a69c7b07
commit
938d21f1ed
@ -12,6 +12,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
.section .note.GNU-stack, "", @progbits
|
||||||
.section .rodata,"a",@progbits
|
.section .rodata,"a",@progbits
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
.section __TEXT,__const
|
.section __TEXT,__const
|
||||||
@ -33,7 +34,9 @@ gnosis_mainnet_genesis_end:
|
|||||||
cdecl(gnosis_mainnet_genesis_size):
|
cdecl(gnosis_mainnet_genesis_size):
|
||||||
.quad gnosis_mainnet_genesis_end - gnosis_mainnet_genesis_data
|
.quad gnosis_mainnet_genesis_end - gnosis_mainnet_genesis_data
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__linux__) && defined(__pie__)
|
||||||
|
.section .data.rel.ro,"aw",@progbits
|
||||||
|
#elif defined(__APPLE__)
|
||||||
.section __DATA,__const
|
.section __DATA,__const
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
|
.section .note.GNU-stack, "", @progbits
|
||||||
.section .rodata,"a",@progbits
|
.section .rodata,"a",@progbits
|
||||||
#elif defined(__APPLE__)
|
#elif defined(__APPLE__)
|
||||||
.section __TEXT,__const
|
.section __TEXT,__const
|
||||||
@ -47,7 +48,9 @@ eth2_sepolia_genesis_end:
|
|||||||
cdecl(eth2_sepolia_genesis_size):
|
cdecl(eth2_sepolia_genesis_size):
|
||||||
.quad eth2_sepolia_genesis_end - eth2_sepolia_genesis_data
|
.quad eth2_sepolia_genesis_end - eth2_sepolia_genesis_data
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__linux__) && defined(__pie__)
|
||||||
|
.section .data.rel.ro,"aw",@progbits
|
||||||
|
#elif defined(__APPLE__)
|
||||||
.section __DATA,__const
|
.section __DATA,__const
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user