* config/tc-hppa.c (process_exit): Create temporary symbols with
correct prefixes so they can be eliminated later.
This commit is contained in:
parent
49fc68a13f
commit
a50e9b5506
2 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,8 @@
|
||||||
Mon Nov 1 21:37:04 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Mon Nov 1 21:37:04 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* config/tc-hppa.c (process_exit): Create temporary symbols with
|
||||||
|
correct prefixes so they can be eliminated later.
|
||||||
|
|
||||||
* config/tc-hppa.c (call_info struct): Delete unused "frame" field.
|
* config/tc-hppa.c (call_info struct): Delete unused "frame" field.
|
||||||
(pa_callinfo): Insert framesize into the unwind information as
|
(pa_callinfo): Insert framesize into the unwind information as
|
||||||
soon as it's available.
|
soon as it's available.
|
||||||
|
|
|
@ -4682,14 +4682,14 @@ process_exit ()
|
||||||
/* ELF does not have EXIT relocations. All we do is create a
|
/* ELF does not have EXIT relocations. All we do is create a
|
||||||
temporary symbol marking the end of the function. */
|
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);
|
strlen (S_GET_NAME (last_call_info->start_symbol)) + 1);
|
||||||
|
|
||||||
if (name)
|
if (name)
|
||||||
{
|
{
|
||||||
symbolS *symbolP;
|
symbolS *symbolP;
|
||||||
|
|
||||||
strcpy (name, "L\001end_");
|
strcpy (name, "L$\001end_");
|
||||||
strcat (name, S_GET_NAME (last_call_info->start_symbol));
|
strcat (name, S_GET_NAME (last_call_info->start_symbol));
|
||||||
|
|
||||||
symbolP = symbol_find (name);
|
symbolP = symbol_find (name);
|
||||||
|
|
Loading…
Reference in a new issue