Annotation of gcc/config/rs6000/aix41.h, revision 1.1.1.2

1.1       root        1: /* Definitions of target machine for GNU compiler,
                      2:    for IBM RS/6000 POWER running AIX version 4.1.
1.1.1.2 ! root        3:    Copyright (C) 1994, 1995 Free Software Foundation, Inc.
1.1       root        4:    Contributed by David Edelsohn ([email protected]).
                      5: 
                      6: This file is part of GNU CC.
                      7: 
                      8: GNU CC is free software; you can redistribute it and/or modify
                      9: it under the terms of the GNU General Public License as published by
                     10: the Free Software Foundation; either version 2, or (at your option)
                     11: any later version.
                     12: 
                     13: GNU CC is distributed in the hope that it will be useful,
                     14: but WITHOUT ANY WARRANTY; without even the implied warranty of
                     15: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                     16: GNU General Public License for more details.
                     17: 
                     18: You should have received a copy of the GNU General Public License
                     19: along with GNU CC; see the file COPYING.  If not, write to
1.1.1.2 ! root       20: the Free Software Foundation, 59 Temple Place - Suite 330,
        !            21: Boston, MA 02111-1307, USA.  */
1.1       root       22: 
                     23: 
                     24: #include "rs6000/rs6000.h"
                     25: 
                     26: #undef ASM_SPEC
1.1.1.2 ! root       27: #define ASM_SPEC "-u \
        !            28: %{!mcpu*: \
        !            29:   %{mpower: %{!mpowerpc*: %{!mpower2: -mpwr}}} \
        !            30:   %{mpower2: -mpwrx} \
        !            31:   %{mno-power: %{mpowerpc*: -mppc}} \
        !            32:   %{mno-power: %{!mpowerpc*: -mcom}} \
        !            33:   %{!mno-power: %{mpowerpc*: -m601}} \
        !            34:   %{!mno-power: %{!mpowerpc*: %{!mpower2: -mpwr}}}} \
        !            35: %{mcpu=common: -mcom} \
        !            36: %{mcpu=power: -mpwr} \
        !            37: %{mcpu=powerpc: -mppc} \
        !            38: %{mcpu=rios: -mpwr} \
        !            39: %{mcpu=rios1: -mpwr} \
        !            40: %{mcpu=rios2: -mpwrx} \
        !            41: %{mcpu=rsc: -mpwr} \
        !            42: %{mcpu=rsc1: -mpwr} \
        !            43: %{mcpu=403: -mppc} \
        !            44: %{mcpu=601: -m601} \
        !            45: %{mcpu=603: -mppc} \
        !            46: %{mcpu=604: -mppc}"
        !            47: 
        !            48: /* These are not necessary when we pass -u to the assembler, and undefining
        !            49:    them saves a great deal of space in object files.  */
        !            50: 
        !            51: #undef ASM_OUTPUT_EXTERNAL
        !            52: #undef ASM_OUTPUT_EXTERNAL_LIBCALL
        !            53: #define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME)  \
        !            54: { rtx _symref = XEXP (DECL_RTL (DECL), 0);     \
        !            55:   if ((TREE_CODE (DECL) == VAR_DECL            \
        !            56:        || TREE_CODE (DECL) == FUNCTION_DECL)   \
        !            57:       && (NAME)[0] != '*'                      \
        !            58:       && (NAME)[strlen (NAME) - 1] != ']')     \
        !            59:     {                                          \
        !            60:       char *_name = (char *) permalloc (strlen (XSTR (_symref, 0)) + 5); \
        !            61:       strcpy (_name, XSTR (_symref, 0));       \
        !            62:       strcat (_name, TREE_CODE (DECL) == FUNCTION_DECL ? "[DS]" : "[RW]"); \
        !            63:       XSTR (_symref, 0) = _name;               \
        !            64:     }                                          \
        !            65: }
1.1       root       66: 
                     67: #undef LINK_SPEC
                     68: #define LINK_SPEC "-bpT:0x10000000 -bpD:0x20000000 %{!r:-btextro} -bnodelcsect\
1.1.1.2 ! root       69:    %{static:-bnso -bI:/lib/syscalls.exp} %{g*:-bexport:/usr/lib/libg.exp}\
        !            70:    %{shared:-bM:SRE}"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.