(root)/
gcc-13.2.0/
gcc/
config/
i386/
gnu64.h
       1  /* Configuration for an x86_64 running GNU with ELF as the target machine.  */
       2  
       3  /*
       4  Copyright (C) 2023 Free Software Foundation, Inc.
       5  
       6  This file is part of GCC.
       7  
       8  GCC 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 3 of the License, or
      11  (at your option) any later version.
      12  
      13  GCC 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 GCC.  If not, see <http://www.gnu.org/licenses/>.
      20  */
      21  
      22  #define GNU_USER_LINK_EMULATION32 "elf_i386"
      23  #define GNU_USER_LINK_EMULATION64 "elf_x86_64"
      24  #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
      25  
      26  #undef GNU_USER_DYNAMIC_LINKER
      27  #define GNU_USER_DYNAMIC_LINKER32 "/lib/ld.so.1"
      28  #define GNU_USER_DYNAMIC_LINKER64 "/lib/ld-x86-64.so.1"
      29  #define GNU_USER_DYNAMIC_LINKERX32 "/lib/ld-x32.so.1"
      30  
      31  #undef	STARTFILE_SPEC
      32  #if defined HAVE_LD_PIE
      33  #define STARTFILE_SPEC \
      34    "%{!shared: %{pg|p|profile:%{static:gcrt0.o%s;:gcrt1.o%s};pie:Scrt1.o%s;static:crt0.o%s;:crt1.o%s}} \
      35     crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
      36  #else
      37  #define STARTFILE_SPEC \
      38    "%{!shared: %{pg|p|profile:%{static:gcrt0.o%s;:gcrt1.o%s};static:crt0.o%s;:crt1.o%s}} \
      39     crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
      40  #endif