]> git.ipfire.org Git - thirdparty/iw.git/commit
iw: fix cmd_size determination with LTO
authorJohannes Berg <johannes.berg@intel.com>
Thu, 28 Feb 2019 20:34:03 +0000 (21:34 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 28 Feb 2019 20:34:03 +0000 (21:34 +0100)
commitae03bc6effdffe145c871d70ce346f93faefc71b
treecd7ad7436db6785e47bac14230c9487b55621d0f
parent691c5853ec15bc141ef404a1b034f74597717b7b
iw: fix cmd_size determination with LTO

Use a separate section to determine the cmd_size as in LTO
the entries in __cmd get freely rearranged, leading to a
(usually) very large cmd_size, and thus to the whole thing
not working.

Change-Id: I3437ad34de1d927961a3e98f109794d7a884327f
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw.c