mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-22 11:41:07 +08:00
pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
* config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine. * config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define. * config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace name at 32 total characters. (ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing functions in named sections -- data items can still go into unique sections, but they have normal names (ie $LIT$ and $DATA$). * config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support INIT_PRIORITY. From-SVN: r41436
This commit is contained in:
parent
4188d924a3
commit
fe6adb3e8d
@ -1,3 +1,17 @@
|
||||
Thu Apr 19 19:15:26 2001 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* config/pa/pa-linux.h (CPLUSPLUS_CPP_SPEC): Undefine.
|
||||
* config/pa/pa.h (CPLUSPLuS_CPP_SPEC): Define.
|
||||
|
||||
* config/pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Truncate subspace
|
||||
name at 32 total characters.
|
||||
(ASM_OUTPUT_SECTION_NAME): Similarly. Also, only support placing
|
||||
functions in named sections -- data items can still go into unique
|
||||
sections, but they have normal names (ie $LIT$ and $DATA$).
|
||||
|
||||
* config/pa/som.h (SUPPORTS_INIT_PRIORITY): SOM does not support
|
||||
INIT_PRIORITY.
|
||||
|
||||
2001-04-19 DJ Delorie <dj@redhat.com>
|
||||
|
||||
* config/alpha/vms.h: Change OBJECT_SUFFIX and EXECUTABLE_SUFFIX
|
||||
|
@ -27,6 +27,8 @@ Boston, MA 02111-1307, USA. */
|
||||
#undef CPP_PREDEFINES
|
||||
#define CPP_PREDEFINES "-D__ELF__ -Dunix -D__hppa__ -Dlinux -Asystem=unix -Asystem=posix -Acpu=hppa -Amachine=hppa -Amachine=bigendian"
|
||||
|
||||
#undef CPLUSPLUS_CPP_SPEC
|
||||
|
||||
#undef LIB_SPEC
|
||||
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
|
||||
|
||||
|
@ -329,6 +329,17 @@ extern int target_flags;
|
||||
%{!ansi: -D_HPUX_SOURCE -D_HIUX_SOURCE -D__STDC_EXT__} \
|
||||
%{threads: -D_REENTRANT -D_DCE_THREADS}"
|
||||
|
||||
#define CPLUSPLUS_CPP_SPEC "\
|
||||
-D_HPUX_SOURCE -D_HIUX_SOURCE -D__STDC_EXT__ \
|
||||
%{mpa-risc-1-0:%(cpp_pa10)} \
|
||||
%{mpa-risc-1-1:%(cpp_pa11)} \
|
||||
%{msnake:%(cpp_pa11)} \
|
||||
%{mpa-risc-2-0:%(cpp_pa20)} \
|
||||
%{!mpa-risc-1-0:%{!mpa-risc-1-1:%{!mpa-risc-2-0:%{!msnake:%(cpp_cpu_default)}}}} \
|
||||
%{m64bit:%(cpp_64bit)} \
|
||||
%{!m64bit:%(cpp_64bit_default)} \
|
||||
%{threads: -D_REENTRANT -D_DCE_THREADS}"
|
||||
|
||||
/* Defines for a K&R CC */
|
||||
|
||||
#define CC1_SPEC "%{pg:} %{p:}"
|
||||
|
@ -127,7 +127,7 @@ do { \
|
||||
fputs ("\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY\n", FILE); \
|
||||
else if (TARGET_GAS) \
|
||||
fprintf (FILE, \
|
||||
"\t.SUBSPA .%s\n", name); \
|
||||
"\t.SUBSPA .%.30s\n", name); \
|
||||
}
|
||||
|
||||
#define ASM_DECLARE_FUNCTION_NAME(FILE, NAME, DECL) \
|
||||
@ -270,23 +270,24 @@ do { \
|
||||
if (DECL && TREE_CODE (DECL) == FUNCTION_DECL) \
|
||||
{ \
|
||||
fputs ("\t.SPACE $TEXT$\n", FILE); \
|
||||
fprintf (FILE, \
|
||||
"\t.SUBSPA %s%s%s,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY,SORT=24\n",\
|
||||
TARGET_GAS ? "" : "$", NAME, TARGET_GAS ? "" : "$"); \
|
||||
if (TARGET_GAS) \
|
||||
fprintf (FILE, \
|
||||
"\t.NSUBSPA %.31s,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY,SORT=24\n", NAME);\
|
||||
else \
|
||||
fprintf (FILE, \
|
||||
"\t.NSUBSPA $%.29s$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY,SORT=24\n", NAME);\
|
||||
} \
|
||||
else if (DECL && DECL_READONLY_SECTION (DECL, RELOC)) \
|
||||
else if (!RELOC && DECL && DECL_READONLY_SECTION (DECL, RELOC))\
|
||||
{ \
|
||||
fputs ("\t.SPACE $TEXT$\n", FILE); \
|
||||
fprintf (FILE, \
|
||||
"\t.SUBSPA %s%s%s,QUAD=0,ALIGN=8,ACCESS=44,SORT=16\n", \
|
||||
TARGET_GAS ? "" : "$", NAME, TARGET_GAS ? "" : "$"); \
|
||||
"\t.NSUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44,SORT=16\n");\
|
||||
} \
|
||||
else \
|
||||
{ \
|
||||
fputs ("\t.SPACE $PRIVATE$\n", FILE); \
|
||||
fprintf (FILE, \
|
||||
"\t.SUBSPA %s%s%s,QUAD=1,ALIGN=8,ACCESS=31,SORT=16\n", \
|
||||
TARGET_GAS ? "" : "$", NAME, TARGET_GAS ? "" : "$"); \
|
||||
"\t.NSUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31,SORT=16\n");\
|
||||
}
|
||||
|
||||
/* FIXME: HPUX ld generates incorrect GOT entries for "T" fixups
|
||||
@ -402,3 +403,8 @@ do { \
|
||||
} while (0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* SOM does not support the init_priority C++ attribute. */
|
||||
#undef SUPPORTS_INIT_PRIORITY
|
||||
#define SUPPORTS_INIT_PRIORITY 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user