mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-30 17:31:13 +08:00
Another fix for building on a 32-bit host.
PR ld/16821 * peXXigen.c (_bfd_XXi_swap_sym_out): Fix for 32-bit hosts.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-04-22 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
PR ld/16821
|
||||||
|
* peXXigen.c (_bfd_XXi_swap_sym_out): Fix for 32-bit hosts.
|
||||||
|
|
||||||
2014-04-22 Christian Svensson <blue@cmd.nu>
|
2014-04-22 Christian Svensson <blue@cmd.nu>
|
||||||
|
|
||||||
* Makefile.am: Remove openrisc and or32 support. Add support for or1k.
|
* Makefile.am: Remove openrisc and or32 support. Add support for or1k.
|
||||||
|
@ -236,7 +236,7 @@ _bfd_XXi_swap_sym_out (bfd * abfd, void * inp, void * extp)
|
|||||||
reduce the absolute value to < 1^32, and then transforming the
|
reduce the absolute value to < 1^32, and then transforming the
|
||||||
symbol into a section relative symbol. This of course is a hack. */
|
symbol into a section relative symbol. This of course is a hack. */
|
||||||
if (sizeof (in->n_value) > 4
|
if (sizeof (in->n_value) > 4
|
||||||
&& in->n_value > ((1L << 32) - 1)
|
&& in->n_value > ((1ULL << 32) - 1)
|
||||||
&& in->n_scnum == -1)
|
&& in->n_scnum == -1)
|
||||||
{
|
{
|
||||||
asection * sec;
|
asection * sec;
|
||||||
|
Reference in New Issue
Block a user