diff options
author | Jeff Law <law@gcc.gnu.org> | 1996-09-10 10:43:47 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1996-09-10 10:43:47 -0600 |
commit | 54eef932cad61aa29e9a7c3dbb6c7bf8dc0b3490 (patch) | |
tree | 19656d871a69ca5bac6f76154b42b598412ec5a2 | |
parent | 1f1406b451b43364daa6cf221c753e0a6a40cb55 (diff) | |
download | gcc-54eef932cad61aa29e9a7c3dbb6c7bf8dc0b3490.zip gcc-54eef932cad61aa29e9a7c3dbb6c7bf8dc0b3490.tar.gz gcc-54eef932cad61aa29e9a7c3dbb6c7bf8dc0b3490.tar.bz2 |
pa-gas.h (DBX_DEBUGGING_INFO): Remove all #define and #undef statements related to debugging information.
* pa/pa-gas.h (DBX_DEBUGGING_INFO): Remove all #define
and #undef statements related to debugging information.
* pa/pa-hpux.h, pa-hpux7.h: Likewise
* pa/pa.c (override_options): Disable "-g" and issue a warning
if it's used when !TARGET_GAS.
From-SVN: r12694
-rw-r--r-- | gcc/config/pa/pa-gas.h | 4 | ||||
-rw-r--r-- | gcc/config/pa/pa-hpux.h | 5 | ||||
-rw-r--r-- | gcc/config/pa/pa-hpux7.h | 5 | ||||
-rw-r--r-- | gcc/config/pa/pa.c | 7 |
4 files changed, 7 insertions, 14 deletions
diff --git a/gcc/config/pa/pa-gas.h b/gcc/config/pa/pa-gas.h index 44a4a74..d7da9e7 100644 --- a/gcc/config/pa/pa-gas.h +++ b/gcc/config/pa/pa-gas.h @@ -19,7 +19,3 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef TARGET_DEFAULT #define TARGET_DEFAULT 0x88 /* TARGET_GAS + TARGET_JUMP_IN_DELAY */ - -#define DBX_DEBUGGING_INFO -#undef DEFAULT_GDB_EXTENSIONS -#define DEFAULT_GDB_EXTENSIONS 1 diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index 3459982..e001ebe 100644 --- a/gcc/config/pa/pa-hpux.h +++ b/gcc/config/pa/pa-hpux.h @@ -28,11 +28,6 @@ Boston, MA 02111-1307, USA. */ #define SIZE_TYPE "unsigned int" #define PTRDIFF_TYPE "int" -/* HPUX doesn't use any debugging format that GCC knows about. */ -#undef DBX_DEBUGGING_INFO -#undef DEFAULT_GDB_EXTENSIONS -#define DEFAULT_GDB_EXTENSIONS 0 - /* Like the default, except no -lg. */ #undef LIB_SPEC #define LIB_SPEC "%{!shared:%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}}" diff --git a/gcc/config/pa/pa-hpux7.h b/gcc/config/pa/pa-hpux7.h index 68e476e..dc75ec2 100644 --- a/gcc/config/pa/pa-hpux7.h +++ b/gcc/config/pa/pa-hpux7.h @@ -29,11 +29,6 @@ Boston, MA 02111-1307, USA. */ #define SIZE_TYPE "unsigned int" #define PTRDIFF_TYPE "int" -/* HPUX doesn't use any debugging format that GCC knows about. */ -#undef DBX_DEBUGGING_INFO -#undef DEFAULT_GDB_EXTENSIONS -#define DEFAULT_GDB_EXTENSIONS 0 - /* Like the default, except no -lg. */ #undef LIB_SPEC #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}" diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index c2d7058..e864707 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -131,6 +131,13 @@ override_options () warning ("Out of line entry/exit sequences are not compatable\n"); warning ("with PIC or profiling\n"); } + + if (! TARGET_GAS && write_symbols != NO_DEBUG) + { + warning ("-g is only supported when using GAS on this processor,"); + warning ("-g option disabled."); + write_symbols = NO_DEBUG; + } } |