ensure correct address for __bss_start__

This commit is contained in:
Dave Murphy 2023-05-27 10:20:45 +01:00
parent 6602c440b4
commit 2d2d0d8d60
No known key found for this signature in database
GPG Key ID: F7FD5492264BB9D0

View File

@ -134,7 +134,6 @@ SECTIONS
SORT(CONSTRUCTORS)
} :data
__bss_start__ = .;
.bss ALIGN(8) :
{
*(.dynbss)
@ -147,7 +146,8 @@ SECTIONS
. += + SIZEOF(.tdata) + SIZEOF(.tbss);
__tls_end = .;
} : data
__bss_end__ = .;
__bss_start__ = ADDR(.bss);
__bss_end__ = ADDR(.bss) + SIZEOF(.bss);
__end__ = ABSOLUTE(.) ;