mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
* ldgram.y (section): Reverse the order of memspec_opt and
fill_opt to avoid an ambiguity when both are used. * ld.texinfo: Changed accordingly.
This commit is contained in:
parent
f5bfdacd47
commit
27baca7182
@ -1,5 +1,9 @@
|
||||
Fri Feb 25 19:12:03 1994 Ian Lance Taylor (ian@cygnus.com)
|
||||
|
||||
* ldgram.y (section): Reverse the order of memspec_opt and
|
||||
fill_opt to avoid an ambiguity when both are used.
|
||||
* ld.texinfo: Changed accordingly.
|
||||
|
||||
* ldgram.y: Move include of ldlex.h back with other includes.
|
||||
* ldlex.h (input_type): Don't initialize enum constants to
|
||||
particular values.
|
||||
|
@ -585,10 +585,10 @@ section: NAME { ldlex_expression(); }
|
||||
lang_enter_output_section_statement($1,$3,typebits,0,0,0,$4);
|
||||
}
|
||||
statement_list_opt
|
||||
'}' {ldlex_expression();} fill_opt memspec_opt
|
||||
'}' {ldlex_expression();} memspec_opt fill_opt
|
||||
{
|
||||
ldlex_popstate();
|
||||
lang_leave_output_section_statement($11, $12);
|
||||
lang_leave_output_section_statement($12, $11);
|
||||
}
|
||||
opt_comma
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user