projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix linker tests to work with 16-bit targets.
[deliverable/binutils-gdb.git]
/
ld
/
mri.c
diff --git
a/ld/mri.c
b/ld/mri.c
index 91b40dc779e6f64fa8d4d60051464ebc90a1d5fb..e5c379c8b6091331688362d5430da8e5920d01bf 100644
(file)
--- a/
ld/mri.c
+++ b/
ld/mri.c
@@
-1,6
+1,5
@@
/* mri.c -- handle MRI style linker scripts
/* 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 <sac@cygnus.com>.
This file is part of the GNU Binutils.
Contributed by Steve Chamberlain <sac@cygnus.com>.
This file is part of the GNU Binutils.
@@
-26,6
+25,8
@@
#include "sysdep.h"
#include "bfd.h"
#include "sysdep.h"
#include "bfd.h"
+#include "bfdlink.h"
+#include "ctf-api.h"
#include "ld.h"
#include "ldexp.h"
#include "ldlang.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 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;
static struct section_name_struct *order;
static struct section_name_struct *only_load;
static struct section_name_struct *address;
@@
-208,7
+211,7
@@
mri_draw_tree (void)
lang_enter_output_section_statement (p->name, base,
p->ok_to_load ? normal_section : noload_section,
lang_enter_output_section_statement (p->name, base,
p->ok_to_load ? normal_section : noload_section,
- align, subalign, NULL, 0);
+ align, subalign, NULL, 0
, 0
);
base = 0;
tmp = (struct wildcard_list *) xmalloc (sizeof *tmp);
tmp->next = NULL;
base = 0;
tmp = (struct wildcard_list *) xmalloc (sizeof *tmp);
tmp->next = NULL;
@@
-284,20
+287,14
@@
mri_format (const char *name)
if (strcmp (name, "S") == 0)
lang_add_output_format ("srec", NULL, NULL, 1);
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
else
- einfo (_("%
P%F
: unknown format type %s\n"), name);
+ einfo (_("%
F%P
: unknown format type %s\n"), name);
}
void
mri_public (const char *name, etree_type *exp)
{
}
void
mri_public (const char *name, etree_type *exp)
{
- lang_add_assignment (exp_assign (name, exp));
+ lang_add_assignment (exp_assign (name, exp
, FALSE
));
}
void
}
void
This page took
0.025397 seconds
and
4
git commands to generate.