mirror of
https://github.com/acidanthera/audk.git
synced 2025-09-24 02:07:44 +02:00
BaseTools: Fix __RELOC_FIX generation to always use a populated section
This commit is contained in:
parent
0dfb926bb5
commit
bb53e3652b
@ -2993,7 +2993,8 @@ NOOPT_CLANGDWARF_X64_DLINK2_FLAGS = DEF(CLANGDWARF_X64_DLINK2_FLAGS) -O0 -fu
|
||||
# image. This also makes the usage of "-read_only_relocs suppress" safe, as
|
||||
# relocations can now target __TEXT without triggering the same issue.
|
||||
#
|
||||
DEFINE XCODE5_RODATA_ARGS = -segprot __RELOC_FIX rw- rw- -segprot __DATA_CONST r-- r-- -segment_order __RELOC_FIX:__TEXT:__DATA_CONST:__DATA -rename_section __DATA __const __RELOC_FIX __const -rename_section __RELOC_FIX __const __DATA_CONST __const -rename_section __TEXT __const __DATA_CONST __text_const -rename_section __TEXT __cstring __DATA_CONST __cstring -rename_section __TEXT __ustring __DATA_CONST __ustring
|
||||
DEFINE XCODE5_RORELOCS_ARGS = -segprot __RELOC_FIX rw- rw- -segment_order __RELOC_FIX:__TEXT:__DATA_CONST:__DATA -rename_section __TEXT __text __RELOC_FIX __text -rename_section __RELOC_FIX __text __TEXT __text
|
||||
DEFINE XCODE5_RODATA_ARGS = DEF(XCODE5_RORELOCS_ARGS) -segprot __DATA_CONST r-- r-- -rename_section __DATA __const __DATA_CONST __const -rename_section __TEXT __const __DATA_CONST __text_const -rename_section __TEXT __cstring __DATA_CONST __cstring -rename_section __TEXT __ustring __DATA_CONST __ustring
|
||||
|
||||
##################
|
||||
# ASL definitions
|
||||
|
Loading…
x
Reference in New Issue
Block a user