Commit 67d6f2fc by Jeffrey A Law Committed by Jeff Law

pa.c (hppa_encode_label): Account for addition of encoding character when...

        * pa.c (hppa_encode_label): Account for addition of encoding
        character when allocating persistent space for the new label
        name.

From-SVN: r37654
parent d9ddcc6a
Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
* pa.c (hppa_encode_label): Account for addition of encoding
character when allocating persistent space for the new label
name.
2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
* Makefile.in, config.gcc, configure.in: Expunge remaining
......
......@@ -5954,6 +5954,11 @@ hppa_encode_label (sym)
strcpy (newstr + 1, str);
*newstr = '@';
/* Prepending '@' increases the length of the string. That's important
to note since we're going to allocate persistent storage for the
new string. */
len++;
XSTR (sym,0) = ggc_alloc_string (newstr, len);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment