zephyr/include/linker
Luiz Augusto von Dentz e0f3ab6bf2 Bluetooth: GATT: Add support for static services
This reintroduces support for static service in the form of a new API,
BT_GATT_SERVICE_DEFINE, and changes the internal services (GAP/GATT)
to be defined as const as they are never register/unregistered.

Internal service needed to be renamed in order to keep the same order
as before since the section elements are sorted by name.

The result is the following (make ram_report):

before:
      gatt.c                                    572     0.66%
        cf_cfg                                   32     0.04%
        db                                        8     0.01%
        db_hash                                  16     0.02%
        db_hash_work                             32     0.04%
        gap_attrs				180     0.21%
        gap_svc                                  12     0.01%
        gatt_attrs                              160     0.18%
        gatt_sc                                  80     0.09%
        gatt_svc                                 12     0.01%
        sc_ccc_cfg                               32     0.04%
        subscriptions                             8     0.01%

after:
      gatt.c                                    210     0.24%
        cf_cfg                                   32     0.04%
        db                                        8     0.01%
        db_hash                                  16     0.02%
        db_hash_work                             32     0.04%
        gatt_sc                                  80     0.09%
        last_static_handle                        2     0.00%
        sc_ccc_cfg                               32     0.04%
        subscriptions                             8     0.01%

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2019-05-02 08:29:23 +03:00
..
app_smem.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_aligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
app_smem_unaligned.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
common-ram.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
common-rom.ld Bluetooth: GATT: Add support for static services 2019-05-02 08:29:23 +03:00
debug-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
intlist.ld gen_isr_tables: Delete the dead code accompanying .intList.num_isrs 2018-06-25 12:54:49 -07:00
kobject-rom.ld kernel: introduce object validation mechanism 2017-09-07 16:33:33 -07:00
kobject-text.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
kobject.ld linker: Remove unused (OPTIONAL) from linker scripts 2019-03-15 06:42:02 -05:00
linker-defs.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
linker-tool-gcc.h linker: Remove unused (OPTIONAL) from linker scripts 2019-03-15 06:42:02 -05:00
linker-tool.h headers: Fix headers across the project 2018-09-17 15:49:26 -04:00
priv_stacks-noinit.ld linker: arm: place priv.noinit at the end of RAM 2018-10-19 16:11:34 -04:00
priv_stacks-rom.ld arm: Generate privileged stacks 2018-02-06 15:31:16 -08:00
priv_stacks-text.ld arch: Rename reserved function names 2019-04-03 17:31:00 -04:00
priv_stacks.ld linker: Remove unused (OPTIONAL) from linker scripts 2019-03-15 06:42:02 -05:00
rel-sections.ld license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
section_tags.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
sections.h soc: nxp_imx: Add support for device configuration data (DCD) 2019-01-09 16:01:25 -06:00