diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2002-02-09 02:18:12 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2002-02-09 02:18:12 +0000 |
commit | e4ec2cac3fd5c2d19dcece8c95644c30cb52e344 (patch) | |
tree | 923f3420128e009083834e0d815322b5f11fff42 /gcc/target-def.h | |
parent | b6459d9a78a55b0a1906357552ccff2d2769fa8a (diff) | |
download | gcc-e4ec2cac3fd5c2d19dcece8c95644c30cb52e344.tar.gz |
hooks.c: New file.
* hooks.c: New file.
* hooks.h: New file.
* Makefile.in (HOOKS_H): New.
(TARGET_DEF_H): Added $(HOOKS_H).
(OBJS): Added hooks.o.
(cfgcleanup.o, bb-reorder.o): Added target.h.
(hooks.o): Added dependencies.
* target-def.h (TARGET_CANNOT_MODIFY_JUMPS_P): New, added to...
(TARGET_INITIALIZER): this.
* doc/tm.texi (TARGET_CANNOT_MODIFY_JUMPS_P): Document.
* target.h (struct gcc_target): Added cannot_modify_jumps_p.
* bb-reorder.c: Include target.h.
(reorder_basic_blocks): Skip if cannot modify jumps.
* cfgcleanup.c: Include target.h.
(try_optimize_cfg): Skip merge blocking if cannot modify jumps.
From-SVN: r49627
Diffstat (limited to 'gcc/target-def.h')
-rw-r--r-- | gcc/target-def.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/target-def.h b/gcc/target-def.h index bc93b507f7e..71987f5caf6 100644 --- a/gcc/target-def.h +++ b/gcc/target-def.h @@ -175,6 +175,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define TARGET_SECTION_TYPE_FLAGS default_section_type_flags #endif +/* In hook.c. */ +#define TARGET_CANNOT_MODIFY_JUMPS_P hook_void_bool_false + /* The whole shebang. */ #define TARGET_INITIALIZER \ { \ @@ -192,5 +195,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. TARGET_EXPAND_BUILTIN, \ TARGET_SECTION_TYPE_FLAGS, \ TARGET_HAVE_NAMED_SECTIONS, \ - TARGET_HAVE_CTORS_DTORS \ + TARGET_HAVE_CTORS_DTORS, \ + TARGET_CANNOT_MODIFY_JUMPS_P \ } + +#include "hooks.h" |