mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
* config/tc-hppa.c (md_apply_fix): Handle cases where no
relocation will be emitted for 32bit formats.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Tue Dec 14 21:38:25 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
|
* config/tc-hppa.c (md_apply_fix): Handle cases where no
|
||||||
|
relocation will be emitted for 32bit formats.
|
||||||
|
|
||||||
Mon Dec 13 23:33:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
Mon Dec 13 23:33:40 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||||
|
|
||||||
* config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
|
* config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
|
||||||
|
@ -3020,7 +3020,14 @@ md_apply_fix (fixP, valp)
|
|||||||
{
|
{
|
||||||
result = 0;
|
result = 0;
|
||||||
fixP->fx_addnumber = fixP->fx_offset;
|
fixP->fx_addnumber = fixP->fx_offset;
|
||||||
|
/* If we have a real relocation, then we want zero to
|
||||||
|
be stored in the object file. If no relocation is going
|
||||||
|
to be emitted, then we need to store new_val into the
|
||||||
|
object file. */
|
||||||
|
if (fixP->fx_addsy)
|
||||||
bfd_put_32 (stdoutput, 0, buf);
|
bfd_put_32 (stdoutput, 0, buf);
|
||||||
|
else
|
||||||
|
bfd_put_32 (stdoutput, new_val, buf);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user