OSDN Git Service

* config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Apr 2003 12:52:57 +0000 (12:52 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 29 Apr 2003 12:52:57 +0000 (12:52 +0000)
(SET_ASM_OP): New macro.
(HANDLE_SYSV_PRAGMA): New macro.
(ASM_WEAKEN_LABEL): New macro.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66223 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/freebsd-aout.h

index 559de62..3b02732 100644 (file)
@@ -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/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>
 
 
 2003-04-28  Mark Mitchell  <mark@codesourcery.com>
 
index 78735f0..48fea7f 100644 (file)
@@ -94,6 +94,9 @@ Boston, MA 02111-1307, USA.  */
 \f
 /* Profiling routines, partially copied from i386/osfrose.h.  */
 
 \f
 /* 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
 #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 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
 
 /* 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 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.  */
 /* 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.  */