summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/ld/ldgram.y
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/ld/ldgram.y')
-rw-r--r--contrib/binutils/ld/ldgram.y7
1 files changed, 5 insertions, 2 deletions
diff --git a/contrib/binutils/ld/ldgram.y b/contrib/binutils/ld/ldgram.y
index 806ea1c..2c40478 100644
--- a/contrib/binutils/ld/ldgram.y
+++ b/contrib/binutils/ld/ldgram.y
@@ -33,8 +33,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "ldexp.h"
#include "ldver.h"
#include "ldlang.h"
-#include "ldemul.h"
#include "ldfile.h"
+#include "ldemul.h"
#include "ldmisc.h"
#include "ldmain.h"
#include "mri.h"
@@ -619,7 +619,9 @@ memory_spec: NAME
attributes_opt ':'
origin_spec opt_comma length_spec
- ; origin_spec:
+ ;
+
+origin_spec:
ORIGIN '=' mustbe_exp
{ region->current =
region->origin =
@@ -1113,6 +1115,7 @@ vers_defns:
}
vers_defns '}'
{
+ $$ = $5;
ldgram_vers_current_lang = $<name>4;
}
;
OpenPOWER on IntegriCloud