[csl-arm] Unwinding table defaults
Paul Brook
paul@codesourcery.com
Fri Jan 28 14:06:00 GMT 2005
Currently gcc enables generation unwind tables by default for targets that
define TARGET_UNWIND_INFO. This effects two targets: ia64 and arm-eabi. The
latter only requires unwinding tables for C++ exceptions, it does not require
them for C code.
The attached patch separates the default for flag_unwind_tables from
TARGET_UNWIND_INFO.
Tested with cross to arm-none-elf, and light testing on ia64-hpux.
Applied to csl-arm-branch.
Paul
2005-01-28 Paul Brook <paul@codesourcery.com>
* Makefile.in (opts.o): Depend on $(TARGET_H).
* opts.c: Include target.h.
(decode_options): Use targetm.unwind_tables_default.
* target-def.h (TARGET_UNWIND_TABLES_DEFAULT): Define.
(TARGET_INITIALIZER): Use it
* target.h (struct gcc_target): Add unwind_tables_default.
* config/ia64/ia64.h (TARGET_UNWIND_TABLES_DEFAULT): Define.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.unwind_tables_default
Type: text/x-diff
Size: 3923 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20050128/99891876/attachment.bin>
More information about the Gcc-patches
mailing list