aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/extern.s
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2007-05-24 09:24:09 +0000
committerNathan Sidwell <nathan@codesourcery.com>2007-05-24 09:24:09 +0000
commit8545d1a9dd556efc7950409426bd70d439fa43d8 (patch)
tree86699d55d009b454b4e0120f2e133efc39d55f09 /ld/testsuite/ld-scripts/extern.s
parent01be46b59d2e1078ccc0e69a3d5853b9d39a882b (diff)
downloadgdb-8545d1a9dd556efc7950409426bd70d439fa43d8.zip
gdb-8545d1a9dd556efc7950409426bd70d439fa43d8.tar.gz
gdb-8545d1a9dd556efc7950409426bd70d439fa43d8.tar.bz2
* ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
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.
Diffstat (limited to 'ld/testsuite/ld-scripts/extern.s')
-rw-r--r--ld/testsuite/ld-scripts/extern.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-scripts/extern.s b/ld/testsuite/ld-scripts/extern.s
new file mode 100644
index 0000000..09cc1e1
--- /dev/null
+++ b/ld/testsuite/ld-scripts/extern.s
@@ -0,0 +1 @@
+ .text