mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 07:08:01 +08:00
Fix formatting in coff-x86_64.c
* coff-x86_64.c (coff_amd64_reloc): Fix formatting.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2015-12-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
* coff-x86_64.c (coff_amd64_reloc): Fix formatting.
|
||||||
|
|
||||||
2015-12-18 Nick Clifton <nickc@redhat.com>
|
2015-12-18 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* coff-i386.c (coff_i386_reloc): Fix formatting.
|
* coff-i386.c (coff_i386_reloc): Fix formatting.
|
||||||
|
@ -147,7 +147,8 @@ coff_amd64_reloc (bfd *abfd,
|
|||||||
accurately range check any addresses computed against it.
|
accurately range check any addresses computed against it.
|
||||||
cf: PR binutils/17512: file: 1085-1761-0.004.
|
cf: PR binutils/17512: file: 1085-1761-0.004.
|
||||||
For now we do the best that we can. */
|
For now we do the best that we can. */
|
||||||
if (addr < (unsigned char *) data || addr > ((unsigned char *) data) + input_section->size)
|
if (addr < (unsigned char *) data
|
||||||
|
|| addr > ((unsigned char *) data) + input_section->size)
|
||||||
{
|
{
|
||||||
bfd_set_error (bfd_error_bad_value);
|
bfd_set_error (bfd_error_bad_value);
|
||||||
return bfd_reloc_notsupported;
|
return bfd_reloc_notsupported;
|
||||||
@ -178,6 +179,7 @@ coff_amd64_reloc (bfd *abfd,
|
|||||||
bfd_put_32 (abfd, (bfd_vma) x, addr);
|
bfd_put_32 (abfd, (bfd_vma) x, addr);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 4:
|
case 4:
|
||||||
{
|
{
|
||||||
long long x = bfd_get_64 (abfd, addr);
|
long long x = bfd_get_64 (abfd, addr);
|
||||||
|
Reference in New Issue
Block a user