X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Femultempl%2Fmmix-elfnmmo.em;h=7cb4087a935f200d0ad2f05ad4fd96aaa5ce2a63;hb=618265039f697eab9e72bb58b95fc2d32925df58;hp=7f8eaf98bac7246288f988c483253a6ed211e702;hpb=2571583aed598dd3f9651b53434e5f177a0e3cf7;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/emultempl/mmix-elfnmmo.em b/ld/emultempl/mmix-elfnmmo.em index 7f8eaf98ba..7cb4087a93 100644 --- a/ld/emultempl/mmix-elfnmmo.em +++ b/ld/emultempl/mmix-elfnmmo.em @@ -1,5 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright (C) 2001-2017 Free Software Foundation, Inc. +# Copyright (C) 2001-2019 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -19,12 +19,21 @@ # MA 02110-1301, USA. # -# This file is sourced from elf32.em and mmo.em, used to define +# This file is sourced from elf.em and mmo.em, used to define # MMIX-specific things common to ELF and MMO. fragment <size / 8); regvma = 32 * 8; } /* Set vma to correspond to first such register number * 8. */ - bfd_set_section_vma (link_info.output_bfd, sec, (bfd_vma) regvma); + bfd_set_section_vma (sec, (bfd_vma) regvma); /* Simplify symbol output for the register section (without contents; created for register symbols) by setting the output offset to 0. This section is only present when there are register symbols. */ sec = bfd_get_section_by_name (link_info.output_bfd, MMIX_REG_SECTION_NAME); if (sec != NULL) - bfd_set_section_vma (sec->owner, sec, 0); + bfd_set_section_vma (sec, 0); if (!_bfd_mmix_after_linker_allocation (link_info.output_bfd, &link_info)) { /* This is a fatal error; make einfo call not return. */ - einfo ("%F%P: Can't finalize linker-allocated global registers\n"); + einfo (_("%F%P: can't finalize linker-allocated global registers\n")); } } EOF +LDEMUL_BEFORE_PARSE=mmix_before_parse LDEMUL_AFTER_ALLOCATION=mmix_after_allocation LDEMUL_BEFORE_ALLOCATION=mmix_before_allocation