1 /* Sequent DYNIX/ptx 1.x (SVr3) */
3 #include "i386/sysv3.h"
5 /* Sequent Symmetry SVr3 doesn't have crtn.o; crt1.o doesn't work
9 #define STARTFILE_SPEC \
11 %{!pg:%{posix:%{p:mcrtp0.o%s}%{!p:crtp0.o%s}}\
12 %{!posix:%{p:mcrt0.o%s}%{!p:crt0.o%s}}} crtbegin.o%s\
13 %{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp}"
19 %{fshared-data:-lpps -lseq} -lc crtend.o%s"
22 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} -D_SEQUENT_=1"
24 /* Although the .init section is used, it is not automatically invoked.
25 This because the _start() function in /lib/crt0.o never calls anything
26 from the .init section */
29 /* Assembler pseudo-op for initialized shared variables (.shdata). */
30 #undef SHARED_SECTION_ASM_OP
31 #define SHARED_SECTION_ASM_OP ".section .shdata, \"ws\""
33 /* Assembler pseudo-op for uninitialized shared global variables (.shbss). */
34 #undef ASM_OUTPUT_SHARED_COMMON
35 #define ASM_OUTPUT_SHARED_COMMON(FILE, NAME, SIZE, ROUNDED) \
36 ( fputs(".comm ", (FILE)), \
37 assemble_name((FILE), (NAME)), \
38 fprintf((FILE), ",%u,-3\n", (SIZE)))
40 /* Assembler pseudo-op for uninitialized shared local variables (.shbss). */
41 #undef SHARED_BSS_SECTION_ASM_OP
42 #define SHARED_BSS_SECTION_ASM_OP ".section .shbss, \"bs\""
43 #undef BSS_SECTION_FUNCTION
44 #define BSS_SECTION_FUNCTION \
48 if (in_section != in_bss) \
50 if (flag_shared_data) \
51 fprintf (asm_out_file, "%s\n", SHARED_BSS_SECTION_ASM_OP); \
53 fprintf (asm_out_file, "%s\n", BSS_SECTION_ASM_OP); \
54 in_section = in_bss; \