X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Fmri.c;h=e5c379c8b6091331688362d5430da8e5920d01bf;hb=af0b2a3e85df9f49a3528e5b7578fcf9412f1acc;hp=450cdf73ab4f81eef509043bea2cc61a8a09811a;hpb=1eec346e1275ed5aa982486f5a0d4ea4c21afe15;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/mri.c b/ld/mri.c index 450cdf73ab..e5c379c8b6 100644 --- a/ld/mri.c +++ b/ld/mri.c @@ -1,6 +1,5 @@ /* mri.c -- handle MRI style linker scripts - Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2001, - 2002, 2003, 2004, 2005, 2007, 2011 Free Software Foundation, Inc. + Copyright (C) 1991-2020 Free Software Foundation, Inc. Contributed by Steve Chamberlain . This file is part of the GNU Binutils. @@ -26,6 +25,8 @@ #include "sysdep.h" #include "bfd.h" +#include "bfdlink.h" +#include "ctf-api.h" #include "ld.h" #include "ldexp.h" #include "ldlang.h" @@ -45,6 +46,8 @@ struct section_name_struct { }; static unsigned int symbol_truncate = 10000; +static etree_type *base; /* Relocation base - or null */ + static struct section_name_struct *order; static struct section_name_struct *only_load; static struct section_name_struct *address; @@ -284,14 +287,8 @@ mri_format (const char *name) if (strcmp (name, "S") == 0) lang_add_output_format ("srec", NULL, NULL, 1); - else if (strcmp (name, "IEEE") == 0) - lang_add_output_format ("ieee", NULL, NULL, 1); - - else if (strcmp (name, "COFF") == 0) - lang_add_output_format ("coff-m68k", NULL, NULL, 1); - else - einfo (_("%P%F: unknown format type %s\n"), name); + einfo (_("%F%P: unknown format type %s\n"), name); } void