summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2003-07-11 04:43:01 +0000
committerkan <kan@FreeBSD.org>2003-07-11 04:43:01 +0000
commit4ea7467e5f8bfad8d3557647d5e3e7c8ba9f2781 (patch)
tree329bb18b22b89370a4c84d2c1eaad2498173fc62 /contrib/gcc
parent2bdb49451cc41f9c81bc5e26f238458d03da6b25 (diff)
downloadFreeBSD-src-4ea7467e5f8bfad8d3557647d5e3e7c8ba9f2781.zip
FreeBSD-src-4ea7467e5f8bfad8d3557647d5e3e7c8ba9f2781.tar.gz
Merge FreeBSD changes into GCC 3.3.1-prerelease:
1.2 Tweaks to make this file live beside our hacked config.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/config/i386/x86-64.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/contrib/gcc/config/i386/x86-64.h b/contrib/gcc/config/i386/x86-64.h
index 72b3dc7..e1cfafa 100644
--- a/contrib/gcc/config/i386/x86-64.h
+++ b/contrib/gcc/config/i386/x86-64.h
@@ -31,16 +31,8 @@ Boston, MA 02111-1307, USA. */
/* Output assembler code to FILE to call the profiler. */
#define NO_PROFILE_COUNTERS 1
-#undef FUNCTION_PROFILER
-#define FUNCTION_PROFILER(FILE, LABELNO) \
-{ \
- if (TARGET_64BIT && flag_pic) \
- fprintf (FILE, "\tcall\t*mcount@PLT\n"); \
- else if (flag_pic) \
- fprintf (FILE, "\tcall\t*mcount@GOT(%%ebx)\n"); \
- else \
- fprintf (FILE, "\tcall\tmcount\n"); \
-}
+#undef MCOUNT_NAME
+#define MCOUNT_NAME "mcount"
#undef SIZE_TYPE
#define SIZE_TYPE (TARGET_64BIT ? "long unsigned int" : "unsigned int")
@@ -79,9 +71,8 @@ Boston, MA 02111-1307, USA. */
/* i386 System V Release 4 uses DWARF debugging info.
x86-64 ABI specifies DWARF2. */
-#undef DWARF2_DEBUGGING_INFO
#undef DWARF_DEBUGGING_INFO
-#define DWARF2_DEBUGGING_INFO
+#define DWARF2_DEBUGGING_INFO 1
#define DWARF2_UNWIND_INFO 1
/* Incorrectly autodetected in cross compilation. */
#undef HAVE_AS_DWARF2_DEBUG_LINE
OpenPOWER on IntegriCloud