diff options
Diffstat (limited to 'pw_boot_cortex_m/basic_cortex_m.ld')
-rw-r--r-- | pw_boot_cortex_m/basic_cortex_m.ld | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pw_boot_cortex_m/basic_cortex_m.ld b/pw_boot_cortex_m/basic_cortex_m.ld index ae84e3e6f..31d2d217e 100644 --- a/pw_boot_cortex_m/basic_cortex_m.ld +++ b/pw_boot_cortex_m/basic_cortex_m.ld @@ -65,7 +65,7 @@ ENTRY(pw_boot_Entry) MEMORY { - /* TODO(b/234892223): Make it possible for projects to freely customize + /* TODO: b/234892223 - Make it possible for projects to freely customize * memory regions. */ @@ -168,6 +168,14 @@ SECTIONS PROVIDE_HIDDEN(__fini_array_end = .); } >FLASH + /* GNU build ID section. Used by pw_build_info. */ + .note.gnu.build-id : + { + . = ALIGN(4); + gnu_build_id_begin = .; + *(.note.gnu.build-id); + } >FLASH + /* Used by unwind-arm/ */ .ARM : ALIGN(4) { __exidx_start = .; |