diff options
author | Jeff Law <law@redhat.com> | 1993-11-02 06:43:11 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-11-02 06:43:11 +0000 |
commit | a50e9b5506f818665a7df7dfcc9cb3413e4d1966 (patch) | |
tree | 76677df24cf24dd826b82a19cedb2d33a48718b2 /gas/config | |
parent | 49fc68a13f3b6062433797ff2661f00759f24aa5 (diff) | |
download | gdb-a50e9b5506f818665a7df7dfcc9cb3413e4d1966.zip gdb-a50e9b5506f818665a7df7dfcc9cb3413e4d1966.tar.gz gdb-a50e9b5506f818665a7df7dfcc9cb3413e4d1966.tar.bz2 |
* config/tc-hppa.c (process_exit): Create temporary symbols with
correct prefixes so they can be eliminated later.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-hppa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index d1db022..9a6d3ec 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -4682,14 +4682,14 @@ process_exit () /* ELF does not have EXIT relocations. All we do is create a temporary symbol marking the end of the function. */ { - char *name = (char *) xmalloc (strlen ("L\001end_") + + char *name = (char *) xmalloc (strlen ("L$\001end_") + strlen (S_GET_NAME (last_call_info->start_symbol)) + 1); if (name) { symbolS *symbolP; - strcpy (name, "L\001end_"); + strcpy (name, "L$\001end_"); strcat (name, S_GET_NAME (last_call_info->start_symbol)); symbolP = symbol_find (name); |