aboutsummaryrefslogtreecommitdiff
path: root/gcc/hooks.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2002-02-09 02:18:12 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2002-02-09 02:18:12 +0000
commite4ec2cac3fd5c2d19dcece8c95644c30cb52e344 (patch)
tree923f3420128e009083834e0d815322b5f11fff42 /gcc/hooks.h
parentb6459d9a78a55b0a1906357552ccff2d2769fa8a (diff)
downloadgcc-e4ec2cac3fd5c2d19dcece8c95644c30cb52e344.zip
gcc-e4ec2cac3fd5c2d19dcece8c95644c30cb52e344.tar.gz
gcc-e4ec2cac3fd5c2d19dcece8c95644c30cb52e344.tar.bz2
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/hooks.h')
-rw-r--r--gcc/hooks.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/hooks.h b/gcc/hooks.h
new file mode 100644
index 0000000..7a8daa5
--- /dev/null
+++ b/gcc/hooks.h
@@ -0,0 +1,22 @@
+/* General-purpose hooks.
+ Copyright (C) 2002 Free Software Foundation, Inc.
+
+This program is free software; you can redistribute it and/or modify it
+under the terms of the GNU General Public License as published by the
+Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+ In other words, you are welcome to use, share and improve this program.
+ You are forbidden to forbid anyone else to use, share and improve
+ what you give them. Help stamp out software-hoarding! */
+
+bool hook_void_bool_false PARAMS ((void));