aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-03-18 12:11:38 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-03-18 12:11:38 +0000
commite9dfee340cc44e525f140d10d569c2306439134b (patch)
tree8fde8e4708f7654547474976fc220d0439dc4ad2 /ld/lexsup.c
parent3889c459bbe9826d419b59e6a0fa57aa078122ec (diff)
downloadgdb-e9dfee340cc44e525f140d10d569c2306439134b.zip
gdb-e9dfee340cc44e525f140d10d569c2306439134b.tar.gz
gdb-e9dfee340cc44e525f140d10d569c2306439134b.tar.bz2
ld/
2009-03-18 H.J. Lu <hongjiu.lu@intel.com> PR ld/6766 * lexsup.c (parse_args): Call ldlang_add_undef for -e. ld/testsuite/ 2009-03-18 H.J. Lu <hongjiu.lu@intel.com> PR ld/6766 * ld-undefined/dummy.s: New. * ld-undefined/entry-1.d: Likewise. * ld-undefined/entry-2.d: Likewise. * ld-undefined/entry-3.d: Likewise. * ld-undefined/entry-4.d: Likewise. * ld-undefined/entry-5.d: Likewise. * ld-undefined/entry-6.d: Likewise. * ld-undefined/entry.exp: Likewise. * ld-undefined/entry.s: Likewise.
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 4dcfc3c..3ddde61 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -818,6 +818,7 @@ parse_args (unsigned argc, char **argv)
break;
case 'e':
lang_add_entry (optarg, TRUE);
+ ldlang_add_undef (optarg);
break;
case 'f':
if (command_line.auxiliary_filters == NULL)