zephyr/tests/bluetooth/audio/mocks/mock-sections.ld
Mariusz Skamra d11bc6edb4 tests: Bluetooth: ascs: Fix linker warning
This fixes linker warning caused by invalid bonding of linker scripts
provided by multiple "-T" options.

mock-sections.ld contains output sections did you forget -T

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
2023-08-30 17:48:52 +02:00

23 lines
446 B
Plaintext

/*
* Copyright 2023 Codecoup
*
* SPDX-License-Identifier: Apache-2.0
*/
SECTIONS
{
data.bt_conn_cb_area : ALIGN(4)
{
_bt_conn_cb_list_start = .;
KEEP(*(SORT_BY_NAME(._bt_conn_cb.static.*)))
_bt_conn_cb_list_end = .;
}
data.bt_gatt_service_static_area : ALIGN(4)
{
_bt_gatt_service_static_list_start = .;
KEEP(*(SORT_BY_NAME(._bt_gatt_service_static.static.*)))
_bt_gatt_service_static_list_end = .;
}
}
INSERT AFTER .data;