diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2023-08-31 19:20:43 +0100 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2023-09-04 11:50:35 +0100 |
commit | 0fe7962afc7c01488432b98b6f442b24946a490d (patch) | |
tree | 6c975c6d68ebeaa800f60d2c3eecda9c25a480c9 /gcc/tree-inline.h | |
parent | 9018cd0fc6f0bdbb44e6505338af0aee5a733fa5 (diff) | |
download | gcc-0fe7962afc7c01488432b98b6f442b24946a490d.zip gcc-0fe7962afc7c01488432b98b6f442b24946a490d.tar.gz gcc-0fe7962afc7c01488432b98b6f442b24946a490d.tar.bz2 |
Darwin: Match system sections and relocs for exception tables.
System tools from Darwin10 onwards have moved the exceptions tables from
the __DATA segment to the __TEXT one. They also revised the relocations
used for typeinfo. While Darwin9 was not changed at the time, in fact the
tools there are equally happy with the revised scheme - and therefore at
present there seems no reason to special-case it.
Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ChangeLog:
* config/darwin-sections.def (darwin_exception_section): Move to
the __TEXT segment.
* config/darwin.cc (darwin_emit_except_table_label): Align before
the exception table label.
* config/darwin.h (ASM_PREFERRED_EH_DATA_FORMAT): Use indirect PC-
relative 4byte relocs.
Diffstat (limited to 'gcc/tree-inline.h')
0 files changed, 0 insertions, 0 deletions