OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [emultempl/] [mmixelf.em] - Diff between revs 38 and 156

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 156
# This shell script emits a C file. -*- C -*-
# This shell script emits a C file. -*- C -*-
#   Copyright 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
#   Copyright 2001, 2002, 2003, 2007 Free Software Foundation, Inc.
#
#
# This file is part of the GNU Binutils.
# This file is part of the GNU Binutils.
#
#
# This program is free software; you can redistribute it and/or modify
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# (at your option) any later version.
#
#
# This program is distributed in the hope that it will be useful,
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# GNU General Public License for more details.
#
#
# You should have received a copy of the GNU General Public License
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
# MA 02110-1301, USA.
# MA 02110-1301, USA.
#
#
# This file is sourced from elf32.em and used to define MMIX and ELF
# This file is sourced from elf32.em and used to define MMIX and ELF
# specific things.  First include what we have in common with mmo.
# specific things.  First include what we have in common with mmo.
source_em ${srcdir}/emultempl/mmix-elfnmmo.em
source_em ${srcdir}/emultempl/mmix-elfnmmo.em
fragment <
fragment <
static void
static void
elfmmix_before_parse (void)
elfmmix_before_parse (void)
{
{
  gld${EMULATION_NAME}_before_parse ();
  gld${EMULATION_NAME}_before_parse ();
  /* Make sure we don't create a demand-paged executable.  Unfortunately
  /* Make sure we don't create a demand-paged executable.  Unfortunately
     this isn't changeable with a command-line option.  It makes no
     this isn't changeable with a command-line option.  It makes no
     difference to mmo, but the sections in elf64mmix will be aligned to a
     difference to mmo, but the sections in elf64mmix will be aligned to a
     page in the linked file, which is non-intuitive.  If there's ever a
     page in the linked file, which is non-intuitive.  If there's ever a
     full system with shared libraries and demand paging, you will want to
     full system with shared libraries and demand paging, you will want to
     exclude this file.  */
     exclude this file.  */
  config.magic_demand_paged = FALSE;
  config.magic_demand_paged = FALSE;
}
}
EOF
EOF
LDEMUL_BEFORE_PARSE=elfmmix_before_parse
LDEMUL_BEFORE_PARSE=elfmmix_before_parse
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.