3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-05 11:39:24 +01:00
iwd/client
Fangrui Song fa1c12453b build: treewide: Set retain attribute
LLD 13 and GNU ld 2.37 support -z start-stop-gc which allows garbage
collection of C identifier name sections despite the __start_/__stop_
references. GNU ld before 2015-10 had the behavior as well. Simply set
the retain attribute so that GCC 11 (if configure-time binutils is 2.36
or newer)/Clang 13 will set the SHF_GNU_RETAIN section attribute to
prevent garbage collection.

Without the patch, there are linker errors with -z start-stop-gc
(LLD default) when -Wl,--gc-sections is used:

```
ld.lld: error: undefined symbol: __start___eap
>>> referenced by eap.c
>>>               src/eap.o:(eap_init)
```

The remain attribute will not be needed if the metadata sections are
referenced by code directly.
2021-11-11 14:27:33 -06:00
..
ad-hoc.c client: fix ad-hoc start_open DBus method name 2020-04-06 17:17:19 -05:00
adapter.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
agent-manager.c client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent-manager.h client: Rework agent registarion logic 2020-02-27 16:30:11 -06:00
agent.c client: Reset prompt on agent exit 2020-08-20 09:52:46 -05:00
agent.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
ap.c client: add missing bracket for "ap <wlan> show" 2021-03-05 08:52:08 -06:00
command.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
command.h build: treewide: Set retain attribute 2021-11-11 14:27:33 -06:00
daemon.c client: Only print daemon info in interactive mode 2021-10-26 07:48:33 -05:00
daemon.h client: Print daemon information at startup 2021-10-25 17:24:51 -05:00
dbus-proxy.c client: special case daemon interface for non-interactive 2021-11-02 16:14:21 -05:00
dbus-proxy.h build: treewide: Set retain attribute 2021-11-11 14:27:33 -06:00
device.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
device.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
diagnostic.c client: add Security key to diagnostics 2021-03-29 13:18:17 -05:00
diagnostic.h client: Update copyrights 2021-01-25 10:46:07 -06:00
display.c client: remove warning on mkdir return 2021-02-09 14:49:17 -06:00
display.h client: remove display_dictionary 2021-01-22 15:02:54 -06:00
iwctl.rst manpage: Add command options and examples for iwctl 2019-10-29 15:07:09 -05:00
known-networks.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
main.c client: Set EXIT_FAILURE on SIGTERM/SIGINT 2020-08-18 21:09:30 -05:00
network.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
network.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
properties.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00
properties.h client: Make variables extern 2020-01-27 09:47:40 -06:00
station.c client: Don't try to print addresses if not connected 2021-10-26 14:34:00 -05:00
wsc.c client: Use include path from top source directory 2019-12-13 09:02:42 +01:00