aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/beos.em
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-01-13 13:06:22 +0000
committerAlan Modra <amodra@gmail.com>2011-01-13 13:06:22 +0000
commit2e57b2afce83621b72b2ac8b54635ad199663dec (patch)
treea162756c66238efb1835bc8af47ad6fe0fa9177a /ld/emultempl/beos.em
parent15b8ba76931a8fed121a0f634388e828b3cbc063 (diff)
downloadgdb-2e57b2afce83621b72b2ac8b54635ad199663dec.zip
gdb-2e57b2afce83621b72b2ac8b54635ad199663dec.tar.gz
gdb-2e57b2afce83621b72b2ac8b54635ad199663dec.tar.bz2
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/emultempl/beos.em')
-rw-r--r--ld/emultempl/beos.em4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/beos.em b/ld/emultempl/beos.em
index abd3979..708a2a9 100644
--- a/ld/emultempl/beos.em
+++ b/ld/emultempl/beos.em
@@ -8,7 +8,7 @@ fi
fragment <<EOF
/* This file is part of GLD, the Gnu Linker.
Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+ 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
This file is part of the GNU Binutils.
@@ -351,7 +351,7 @@ gld_${EMULATION_NAME}_set_symbols (void)
for (j = 0; init[j].ptr; j++)
{
long val = init[j].value;
- lang_add_assignment (exp_assop ('=', init[j].symbol, exp_intop (val)));
+ lang_add_assignment (exp_assign (init[j].symbol, exp_intop (val)));
if (init[j].size == sizeof(short))
*(short *)init[j].ptr = val;
else if (init[j].size == sizeof(int))