X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Fmri.c;h=39beff4dc149cb3bb88375cc28b7ba1e34b68d15;hb=3f5b7598805c8253c43c989a540a2408c8b685ad;hp=91b40dc779e6f64fa8d4d60051464ebc90a1d5fb;hpb=ae17ab41b73246a07697e79a36ec28deb51576f2;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/mri.c b/ld/mri.c index 91b40dc779..39beff4dc1 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-2016 Free Software Foundation, Inc. Contributed by Steve Chamberlain . This file is part of the GNU Binutils. @@ -45,6 +44,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; @@ -208,7 +209,7 @@ mri_draw_tree (void) 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; @@ -297,7 +298,7 @@ mri_format (const char *name) 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