summaryrefslogtreecommitdiff
path: root/gcc/config/mips/elf.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-12 18:07:32 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-06-12 18:07:32 +0000
commit072e6fd27a76bba6be6907a5561b265c497c5977 (patch)
tree9c54080b7fa47f986d96a7bf0089af17c30532bb /gcc/config/mips/elf.h
parent2aa04a098f776c20287cee6e7201ff4f754b49a6 (diff)
downloadgcc-072e6fd27a76bba6be6907a5561b265c497c5977.tar.gz
* config/mips/elf.h (DWARF2_DEBUG_INFO): Define.
* config/mips/mips.c (mips_output_filename): Don't print a ".file" directive if we are using DWARF-2. (mips_output_function_prologue): Do not emit source file name for TARGET_GAS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54560 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/elf.h')
-rw-r--r--gcc/config/mips/elf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h
index de870c09a89..8e22e0bcd6a 100644
--- a/gcc/config/mips/elf.h
+++ b/gcc/config/mips/elf.h
@@ -22,6 +22,12 @@ Boston, MA 02111-1307, USA. */
/* Use ELF. */
#define OBJECT_FORMAT_ELF
+/* All ELF targets can support DWARF-2. */
+
+#ifndef DWARF2_DEBUGGING_INFO
+#define DWARF2_DEBUGGING_INFO 1
+#endif
+
/* Until we figure out what MIPS ELF targets normally use, just do
stabs in ELF. */
#ifndef PREFERRED_DEBUGGING_TYPE