X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Femultempl%2Fmmix-elfnmmo.em;h=b86ef1f37e9756b9a8336eefe13c8ef8ed000ae1;hb=d871d478061f10b0879c688e2fa941407e9137aa;hp=6a7b295406e96c0b56f64139873967a79bdc5d4b;hpb=aa820537ead0135a7c38c619039dce8a6fc74ed1;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/emultempl/mmix-elfnmmo.em b/ld/emultempl/mmix-elfnmmo.em index 6a7b295406..b86ef1f37e 100644 --- a/ld/emultempl/mmix-elfnmmo.em +++ b/ld/emultempl/mmix-elfnmmo.em @@ -1,6 +1,5 @@ # This shell script emits a C file. -*- C -*- -# Copyright 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 -# Free Software Foundation, Inc. +# Copyright (C) 2001-2019 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -26,6 +25,15 @@ fragment <size / 8); regvma = 32 * 8; } @@ -102,15 +110,16 @@ mmix_after_allocation (void) 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 (abfd, sec, 0); + bfd_set_section_vma (sec->owner, 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