diff options
| author | Frantisek Hrbata <[email protected]> | 2013-10-14 18:08:46 +1030 |
|---|---|---|
| committer | Rusty Russell <[email protected]> | 2013-10-17 15:05:17 +1030 |
| commit | eb3057df732c304622aee77c450761746939a2dc (patch) | |
| tree | 2890b26bb4827361e8ebc7835d2eaaac160179b8 /tools/testing/radix-tree/linux/kernel.h | |
| parent | eed380f3f5933edb8f4c055ba34ae7908ed38565 (diff) | |
kernel: add support for init_array constructors
This adds the .init_array section as yet another section with constructors. This
is needed because gcc could add __gcov_init calls to .init_array or .ctors
section, depending on gcc (and binutils) version .
v2: - reuse mod->ctors for .init_array section for modules, because gcc uses
.ctors or .init_array, but not both at the same time
v3: - fail to load if that does happen somehow.
Signed-off-by: Frantisek Hrbata <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions