mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
* config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
bits if target is 64 bit.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2001-10-02 Alan Modra <amodra@bigpond.net.au>
|
2001-10-02 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64
|
||||||
|
bits if target is 64 bit.
|
||||||
|
|
||||||
* doc/as.texinfo (listing): Fix typo.
|
* doc/as.texinfo (listing): Fix typo.
|
||||||
|
|
||||||
* as.c (print_version_id): Use BFD_VERSION_STRING in place of
|
* as.c (print_version_id): Use BFD_VERSION_STRING in place of
|
||||||
|
@ -5207,8 +5207,9 @@ md_apply_fix3 (fixp, valuep, seg)
|
|||||||
#endif
|
#endif
|
||||||
switch (fixp->fx_r_type)
|
switch (fixp->fx_r_type)
|
||||||
{
|
{
|
||||||
|
#if BFD_DEFAULT_TARGET_SIZE != 64
|
||||||
case BFD_RELOC_CTOR:
|
case BFD_RELOC_CTOR:
|
||||||
/* FIXME: 32 bits even for 64-bit targets? */
|
#endif
|
||||||
case BFD_RELOC_32:
|
case BFD_RELOC_32:
|
||||||
if (fixp->fx_pcrel)
|
if (fixp->fx_pcrel)
|
||||||
fixp->fx_r_type = BFD_RELOC_32_PCREL;
|
fixp->fx_r_type = BFD_RELOC_32_PCREL;
|
||||||
@ -5222,6 +5223,9 @@ md_apply_fix3 (fixp, valuep, seg)
|
|||||||
value, 4);
|
value, 4);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#if BFD_DEFAULT_TARGET_SIZE == 64
|
||||||
|
case BFD_RELOC_CTOR:
|
||||||
|
#endif
|
||||||
case BFD_RELOC_64:
|
case BFD_RELOC_64:
|
||||||
if (fixp->fx_pcrel)
|
if (fixp->fx_pcrel)
|
||||||
fixp->fx_r_type = BFD_RELOC_64_PCREL;
|
fixp->fx_r_type = BFD_RELOC_64_PCREL;
|
||||||
|
Reference in New Issue
Block a user