aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2003-04-29 12:52:57 +0000
committerLoren J. Rittle <ljrittle@gcc.gnu.org>2003-04-29 12:52:57 +0000
commitfbf17dab002ad0bf6b4d7164d09d103701533dcf (patch)
tree010e1e8ddf45f02ab490834cbfa8d41e4f4ae296 /gcc
parentf0fad938da8774875eae1f6e5d08522c5d8599c8 (diff)
downloadgcc-fbf17dab002ad0bf6b4d7164d09d103701533dcf.zip
gcc-fbf17dab002ad0bf6b4d7164d09d103701533dcf.tar.gz
gcc-fbf17dab002ad0bf6b4d7164d09d103701533dcf.tar.bz2
freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
* config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro. (SET_ASM_OP): New macro. (HANDLE_SYSV_PRAGMA): New macro. (ASM_WEAKEN_LABEL): New macro. From-SVN: r66223
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/freebsd-aout.h10
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 559de62..3b02732 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -7,6 +7,10 @@
* config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
(SIZE_TYPE): New macro.
+ * config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
+ (SET_ASM_OP): New macro.
+ (HANDLE_SYSV_PRAGMA): New macro.
+ (ASM_WEAKEN_LABEL): New macro.
2003-04-28 Mark Mitchell <mark@codesourcery.com>
diff --git a/gcc/config/i386/freebsd-aout.h b/gcc/config/i386/freebsd-aout.h
index 78735f0..48fea7f 100644
--- a/gcc/config/i386/freebsd-aout.h
+++ b/gcc/config/i386/freebsd-aout.h
@@ -94,6 +94,9 @@ Boston, MA 02111-1307, USA. */
/* Profiling routines, partially copied from i386/osfrose.h. */
+/* Tell final.c that we don't need a label passed to mcount. */
+#define NO_PROFILE_COUNTERS 1
+
#undef MCOUNT_NAME
#define MCOUNT_NAME "mcount"
#undef PROFILE_COUNT_REGISTER
@@ -112,6 +115,7 @@ Boston, MA 02111-1307, USA. */
#define TYPE_ASM_OP "\t.type\t"
#define SIZE_ASM_OP "\t.size\t"
+#define SET_ASM_OP "\t.set\t"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers
@@ -121,6 +125,12 @@ Boston, MA 02111-1307, USA. */
#define TYPE_OPERAND_FMT "@%s"
+#define HANDLE_SYSV_PRAGMA 1
+
+#define ASM_WEAKEN_LABEL(FILE,NAME) \
+ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
+ fputc ('\n', FILE); } while (0)
+
/* Write the extra assembler code needed to declare a function's result.
Most svr4 assemblers don't require any special declaration of the
result value, but there are exceptions. */