mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-02 17:16:42 +00:00
Fix thinko in last change
This commit is contained in:
parent
655f3ef4af
commit
8fb99170f1
@ -1257,12 +1257,11 @@ cons_fix_new_hppa (frag, where, size, exp)
|
||||
{
|
||||
unsigned int rel_type;
|
||||
|
||||
/* Get a base relocation type. We use NONE for complex as it should
|
||||
always be reducable to a constant in the cases we generate. */
|
||||
/* Get a base relocation type. */
|
||||
if (is_DP_relative (*exp))
|
||||
rel_type = R_HPPA_GOTOFF;
|
||||
else if (is_complex (*exp))
|
||||
rel_type = R_HPPA_NONE;
|
||||
rel_type = R_HPPA_COMPLEX;
|
||||
else
|
||||
rel_type = R_HPPA;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user