summaryrefslogtreecommitdiff
path: root/libiberty
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-03-20 17:09:17 +0000
committerDJ Delorie <dj@delorie.com>2001-03-20 17:09:17 +0000
commit1358f32c30b23e70952d3ab90b78f72b3484ac5d (patch)
tree890386ef1148b63d75bdb9b5cb32b8b67395b0db /libiberty
parent993451455eb077ad8f48e57637c6a5b3a92b54cb (diff)
downloadgdb-1358f32c30b23e70952d3ab90b78f72b3484ac5d.tar.gz
merge from gcc
Diffstat (limited to 'libiberty')
-rw-r--r--libiberty/ChangeLog4
-rw-r--r--libiberty/cplus-dem.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 989547060f5..5bb5073d842 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -1,3 +1,7 @@
+2001-03-20 Jason Merrill <jason@redhat.com>
+
+ * cplus-dem.c (main): Skip initial $.
+
2001-03-15 Michael Meissner <meissner@redhat.com>
* hashtab.c (higher_prime_number): Silence warning that 4294967291
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c
index 6133e6e1d40..31a7555783b 100644
--- a/libiberty/cplus-dem.c
+++ b/libiberty/cplus-dem.c
@@ -5139,7 +5139,7 @@ main (argc, argv)
{
int skip_first = 0;
- if (mbuffer[0] == '.')
+ if (mbuffer[0] == '.' || mbuffer[0] == '$')
++skip_first;
if (strip_underscore && mbuffer[skip_first] == '_')
++skip_first;