This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
hppa-linux support
- To: Jeffrey A Law <law at redhat dot com>
- Subject: hppa-linux support
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Thu, 25 Jan 2001 12:19:02 +1100 (EST)
- cc: gcc-patches at gcc dot gnu dot org
Is it too late to get this merged for gcc-3.0 ?
The bulk of the changes involve splitting up include files like so
* config/pa/pa-64.h: Delete. Split into..
* config/pa/pa64.h: .. architecture defines, and
* config/pa/pa64-hpux.h: .. operating system defines. Fix
ASM_FILE_START.
(PREFERRED_DEBUGGING_FORMAT): Rename to PREFERRED_DEBUGGING_TYPE.
* config/pa/pa64-linux.h: New file.
* config/pa/xm-linux64.h: New file.
* config/pa/pa-linux.h (LINUX_DEFAULT_ELF): Remove.
(SELECT_SECTION): Undef.
(SIZE_TYPE, PTRDIFF_TYPE): Remove.
(CPP_SPEC): Move to pa32-linux.h
(LIB_SPEC): Remove -lmilli.
(ASM_SPEC, LINK_SPEC): Define.
(FUNCTION_OK_FOR_SIBCALL): Define as zero.
(SELECT_RTX_SECTION): Define.
(PREFERRED_DEBUGGING_FORMAT, DWARF2_ASM_LINE_DEBUG_INFO): Define
(DWARF2_UNWIND_INFO, OBJECT_FORMAT_ELF): Define.
(INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_RETURN_COLUMN): Define.
(STRING_ASM_OP, TEXT_SECTION_ASM_OP): Define
(DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Define.
(ASM_FILE_START, ASM_OUTPUT_DEF): Define.
(ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Define.
(ASM_OUTPUT_LABEL, ASM_GLOBALIZE_LABEL): Define.
(ASM_DECLARE_FUNCTION_NAME): Define.
* config/pa/pa.h (TARGET_ELF32): Define.
* config/pa/t-linux (CRTSTUFF_T_CFLAGS_S): Define.
(TARGET_LIBGCC2_CFLAGS): Define.
(LIB2FUNCS_EXTRA): Define.
* config.gcc: Add parisc*64*-*-linux*, hppa*64*-*-linux. Add
parisc*-*-linux* as an alias for hppa*-*-linux*. Update
hppa*-*-linux* and hppa*64*-*-hpux11* config files.
* config/pa/pa.md (canonicalize_funcptr_for_compare): Don't use
for TARGET_ELF32.
If you want to take a look at the whole lot
cvs -d :pserver:anonymous@puffin.external.hp.com:/home/cvs/parisc \
co -r devel gcc/gcc/config/pa
or I can feed you patches in smallish chunks.
Alan Modra
--
Linuxcare. Support for the Revolution.