diff options
Diffstat (limited to 'BaseTools/Scripts')
-rw-r--r-- | BaseTools/Scripts/GccBase.lds | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Scripts/GccBase.lds b/BaseTools/Scripts/GccBase.lds index 0f0210e407..3d99f01db2 100644 --- a/BaseTools/Scripts/GccBase.lds +++ b/BaseTools/Scripts/GccBase.lds @@ -37,7 +37,7 @@ SECTIONS { * between these sections is the same in the ELF and the PE/COFF versions of
* this binary.
*/
- .data : ALIGN(CONSTANT(COMMONPAGESIZE)) {
+ .data ALIGN(ALIGNOF(.text)) : ALIGN(CONSTANT(COMMONPAGESIZE)) {
*(.data .data.* .gnu.linkonce.d.*)
*(.bss .bss.* *COM*)
}
|