summaryrefslogtreecommitdiff
path: root/core/host
diff options
context:
space:
mode:
Diffstat (limited to 'core/host')
-rw-r--r--core/host/host_exe.lds4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/host/host_exe.lds b/core/host/host_exe.lds
index f4e72ec0d7..792ab36685 100644
--- a/core/host/host_exe.lds
+++ b/core/host/host_exe.lds
@@ -101,6 +101,10 @@ SECTIONS {
*(.rodata.HOOK_USB_PD_DISCONNECT)
__hooks_usb_pd_disconnect_end = .;
+ __hooks_usb_pd_connect = .;
+ KEEP(*(.rodata.HOOK_USB_PD_CONNECT))
+ __hooks_usb_pd_connect_end = .;
+
__deferred_funcs = .;
*(.rodata.deferred)
__deferred_funcs_end = .;