summaryrefslogtreecommitdiff
path: root/ld/mri.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2011-01-13 13:06:21 +0000
committerAlan Modra <amodra@bigpond.net.au>2011-01-13 13:06:21 +0000
commit52ce512325a666c91eb0e6464aa65f36dfa4447a (patch)
treec7280665ef0e9dcf48ca2314a12e12863b27cb42 /ld/mri.c
parentb549e669f28b6f39ac709ecc201182b49fe765fa (diff)
downloadbinutils-redhat-52ce512325a666c91eb0e6464aa65f36dfa4447a.tar.gz
PR ld/12356
* ldexp.h (exp_assop): Delete. (exp_assign, exp_defsym): Declare. * ldexp.c (exp_assop): Make static, handle all assignment variations. (exp_assign, exp_defsym): New functions. (exp_provide): Use exp_assop. * ldgram.y (defsym_expr): Use exp_defsym. * ldctor.c, * ldgram.y, * ldlang.c, * mri.c, * emultempl/beos.em, * emultempl/pe.em, * emultempl/pep.em, * emultempl/spuelf.em, * emultempl/xtensaelf.em: Update exp_assop -> exp_assign.
Diffstat (limited to 'ld/mri.c')
-rw-r--r--ld/mri.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/mri.c b/ld/mri.c
index 1932a939ed..ce1406af33 100644
--- a/ld/mri.c
+++ b/ld/mri.c
@@ -1,6 +1,6 @@
/* mri.c -- handle MRI style linker scripts
Copyright 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
+ 2002, 2003, 2004, 2005, 2007, 2011 Free Software Foundation, Inc.
Contributed by Steve Chamberlain <sac@cygnus.com>.
This file is part of the GNU Binutils.
@@ -295,7 +295,7 @@ mri_format (const char *name)
void
mri_public (const char *name, etree_type *exp)
{
- lang_add_assignment (exp_assop ('=', name, exp));
+ lang_add_assignment (exp_assign (name, exp));
}
void