summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/freebsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/binutils/bfd/freebsd.h')
-rw-r--r--contrib/binutils/bfd/freebsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/bfd/freebsd.h b/contrib/binutils/bfd/freebsd.h
index ccd201f..8bb19ac 100644
--- a/contrib/binutils/bfd/freebsd.h
+++ b/contrib/binutils/bfd/freebsd.h
@@ -55,9 +55,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "libbfd.h"
#include "libaout.h"
-/* On FreeBSD, the magic number is always in ntohl's "network" (big-endian)
+/* On FreeBSD, the magic number is always in i386 (little-endian)
format. I think. */
-#define SWAP_MAGIC(ext) bfd_getb32 (ext)
+#define SWAP_MAGIC(ext) bfd_getl32 (ext)
#define MY_write_object_contents MY(write_object_contents)
OpenPOWER on IntegriCloud