aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/pa
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-06-14 21:11:37 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-06-14 21:11:37 +0100
commitc49a69620430855d0b44d4248f4722b0ce0e6013 (patch)
treefbc63c1e6ab5dbc70fa471c1f8ba73b1a4c9e4e5 /gcc/config/pa
parent22c5fa5fbfd9634c3389f845e77ddf8e6ea32f7b (diff)
downloadgcc-c49a69620430855d0b44d4248f4722b0ce0e6013.zip
gcc-c49a69620430855d0b44d4248f4722b0ce0e6013.tar.gz
gcc-c49a69620430855d0b44d4248f4722b0ce0e6013.tar.bz2
common-target-def.h, [...]: New files.
* common/common-target-def.h, common/common-target.def, common/common-target.h, common/config/default-common.c, common/config/pa/pa-common.c: New files. * Makefile.in (common_out_file, common_out_object_file, COMMON_TARGET_H, COMMON_TARGET_DEF_H): New. (OBJS-libcommon-target): Include $(common_out_object_file). (prefix.o): Update dependencies. ($(common_out_object_file), common/common-target-hooks-def.h, s-common-target-hooks-def-h): New. (s-tm-texi): Also check timestamp on common-target.def. (build/genhooks.o): Update dependencies. * config.gcc (common_out_file, target_has_targetm_common): Define. * config/pa/som.h (ALWAYS_STRIP_DOTDOT): Replace with TARGET_ALWAYS_STRIP_DOTDOT. * configure.ac (common_out_object_file): Define. (common_out_file, common_out_object_file): Substitute. (common): Create directory. * configure: Regenerate. * doc/tm.texi.in (targetm_common): Document. (TARGET_ALWAYS_STRIP_DOTDOT): Add @hook entry. * doc/tm.texi: Regenerate. * genhooks.c (hook_array): Also include common/common-target.def. * prefix.c (tm.h): Don't include. (common/common-target.h): Include. (ALWAYS_STRIP_DOTDOT): Don't define. (update_path): Use targetm_common.always_strip_dotdot instead of ALWAYS_STRIP_DOTDOT. * system.h (ALWAYS_STRIP_DOTDOT): Poison. From-SVN: r175052
Diffstat (limited to 'gcc/config/pa')
-rw-r--r--gcc/config/pa/som.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/pa/som.h b/gcc/config/pa/som.h
index 73095e5..e8a47cc 100644
--- a/gcc/config/pa/som.h
+++ b/gcc/config/pa/som.h
@@ -1,5 +1,5 @@
/* Definitions for SOM assembler support.
- Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2010
+ Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2007, 2010, 2011
Free Software Foundation, Inc.
This file is part of GCC.
@@ -269,7 +269,8 @@ do { \
must be removed from library prefixes to prevent binaries from depending
on the location of the GCC tool directory. The downside is GCC
cannot be moved after installation using a symlink. */
-#define ALWAYS_STRIP_DOTDOT 1
+#undef TARGET_ALWAYS_STRIP_DOTDOT
+#define TARGET_ALWAYS_STRIP_DOTDOT true
/* If GAS supports weak, we can support weak when we have working linker
support for secondary definitions and are generating code for GAS.