X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-mt.c;h=303004bcc3b339ac83a7fd0a7c131fb14d86180b;hb=07e7fdfd429985f061630c46e91cb10579607233;hp=1ae271ea4bc0691dda7221e0e012366bfda8426b;hpb=2b804145796e948fa4c025c07eb201e700281e6b;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-mt.c b/gas/config/tc-mt.c index 1ae271ea4b..303004bcc3 100644 --- a/gas/config/tc-mt.c +++ b/gas/config/tc-mt.c @@ -1,5 +1,5 @@ /* tc-mt.c -- Assembler for the Morpho Technologies mt . - Copyright (C) 2005-2016 Free Software Foundation, Inc. + Copyright (C) 2005-2020 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -14,9 +14,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. */ + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, + MA 02110-1301, USA. */ #include "as.h" #include "dwarf2dbg.h" @@ -178,6 +178,8 @@ md_begin (void) /* Set the machine type. */ bfd_default_set_arch_mach (stdoutput, bfd_arch_mt, mt_mach); + + literal_prefix_dollar_hex = TRUE; } void @@ -331,7 +333,7 @@ md_assemble (char * str) valueT md_section_align (segT segment, valueT size) { - int align = bfd_get_section_alignment (stdoutput, segment); + int align = bfd_section_alignment (segment); return ((size + (1 << align) - 1) & -(1 << align)); }