Commit 9155d500 by J. Kean Johnston Committed by Jeff Law

sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.

        * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
        (SELECT_RTX_SECTION): Define.
        (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.

From-SVN: r16532
parent 4931312c
Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
* i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
(SELECT_RTX_SECTION): Define.
(LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (compare, compare-lean): Define $stage for each
......
......@@ -284,6 +284,14 @@ do { \
} \
} while (0)
/* A C statement (sans semicolon) to output to the stdio stream
FILE the assembler definition of uninitialized global DECL named
NAME whose size is SIZE bytes and alignment is ALIGN bytes.
Try to use asm_output_aligned_bss to implement this macro. */
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
#undef ESCAPES
#define ESCAPES \
"\1\1\1\1\1\1\1\1btn\1fr\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\
......@@ -367,6 +375,19 @@ do { \
fprintf ((FILE), "\n"); \
} while (0)
/* Must use data section for relocatable constants when pic. */
#undef SELECT_RTX_SECTION
#define SELECT_RTX_SECTION(MODE,RTX) \
{ \
if (TARGET_ELF) { \
if (flag_pic && symbolic_operand (RTX)) \
data_section (); \
else \
const_section (); \
} else \
readonly_data_section(); \
}
#undef ASM_OUTPUT_CASE_LABEL
#define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,JUMPTABLE) \
do { \
......@@ -883,7 +904,11 @@ dtors_section () \
#undef LIB_SPEC
#define LIB_SPEC \
"%{!shared:%{!symbolic:-lcrypt -lgen -lc}}"
"%{shared:pic/libgcc.a%s}%{!shared:%{!symbolic:-lcrypt -lgen -lc}}"
#undef LIBGCC_SPEC
#define LIBGCC_SPEC \
"%{!shared:-lgcc}"
#define MASK_COFF 010000000000 /* Mask for elf generation */
#define TARGET_COFF (target_flags & MASK_COFF)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment