mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
8545d1a9dd
contain commas in EXP env. * ldgram.y (extern_name_list): Push to EXP env, move body to ... (extern_name_list_body): ... here. (script_file, ifile_list): Reformat. (statement): Add ASSERT. testsuite: * ld-scripts/assert.t: Add additional cases. * ld-scripts/extern.t, ld-scripts/extern.s, ld-scripts/extern.exp: New.
15 lines
161 B
Raku
15 lines
161 B
Raku
|
|
EXTERN(sym1)
|
|
EXTERN(sym2, sym3)
|
|
EXTERN(sym4 sym5)
|
|
|
|
PROVIDE(sym1 = 1);
|
|
PROVIDE(sym2 = 2);
|
|
PROVIDE(sym3 = 3);
|
|
PROVIDE(sym4 = 4);
|
|
PROVIDE(sym5 = 5);
|
|
|
|
SECTIONS
|
|
{
|
|
}
|