diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2023-09-01 09:04:13 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2023-09-04 12:25:30 +0100 |
commit | 68dc3e94fd6bd395a8b343533485616dff3fc796 (patch) | |
tree | 9582d0d8871d5af82f5f05ecbf019007be802a55 /gcc/tree-inline.h | |
parent | 0fe7962afc7c01488432b98b6f442b24946a490d (diff) | |
download | gcc-68dc3e94fd6bd395a8b343533485616dff3fc796.zip gcc-68dc3e94fd6bd395a8b343533485616dff3fc796.tar.gz gcc-68dc3e94fd6bd395a8b343533485616dff3fc796.tar.bz2 |
Darwin: Place global inits in the correct section.
This handles placement of global initializers into __TEXT,__StaticInit as used
by other platform toolchains.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:
* config/darwin-sections.def (static_init_section): Add the
__TEXT,__StaticInit section.
* config/darwin.cc (darwin_function_section): Use the static init
section for global initializers, to match other platform toolchains.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions