diff options
author | Charles Hannum <mycroft@gnu.org> | 1992-03-29 04:50:08 +0000 |
---|---|---|
committer | Charles Hannum <mycroft@gnu.org> | 1992-03-29 04:50:08 +0000 |
commit | 2b15883f5880482775fd226a134b1ec128ce53f6 (patch) | |
tree | ec9413ba67b8184b33015a2100d71812494ae35c /gcc/config/i386 | |
parent | d7cd15e920b6c4bb40ab9d611535ca746d4109fb (diff) | |
download | gcc-2b15883f5880482775fd226a134b1ec128ce53f6.zip gcc-2b15883f5880482775fd226a134b1ec128ce53f6.tar.gz gcc-2b15883f5880482775fd226a134b1ec128ce53f6.tar.bz2 |
entered into RCS
From-SVN: r625
Diffstat (limited to 'gcc/config/i386')
-rw-r--r-- | gcc/config/i386/sysv3.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/config/i386/sysv3.h b/gcc/config/i386/sysv3.h index 0aaa69ac..4cdbeda 100644 --- a/gcc/config/i386/sysv3.h +++ b/gcc/config/i386/sysv3.h @@ -98,6 +98,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef FRAME_POINTER_REQUIRED #define FRAME_POINTER_REQUIRED \ (current_function_calls_setjmp || current_function_calls_longjmp) + +/* Modify ASM_OUTPUT_LOCAL slightly to test -msvr3-shlib. */ +#undef ASM_OUTPUT_LOCAL +#define ASM_OUTPUT_LOCAL(FILE, NAME, SIZE, ROUNDED) \ + do { \ + int align = exact_log2 (ROUNDED); \ + if (align > 2) align = 2; \ + if (TARGET_SVR3_SHLIB) \ + data_section (); \ + else \ + bss_section (); \ + ASM_OUTPUT_ALIGN ((FILE), align == -1 ? 2 : align); \ + ASM_OUTPUT_LABEL ((FILE), (NAME)); \ + fprintf ((FILE), "\t.set .,.+%u\n", (ROUNDED)); \ + } while (0) /* Define a few machine-specific details of the implementation of constructors. |