This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix BE8 shared libraries


My previous patch to reject BE8 linker input was a little too paranoid.
The patch below makes it allow linking against BE8 shared libraries.

Tested on arm-none-linux-gnueabi
Applied to CVS head.

Paul

2008-06-09  Paul Brook  <paul@codesourcery.com>

	bfd/
	* elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared
	libraries.

Index: bfd/elf32-arm.c
===================================================================
--- bfd/elf32-arm.c	(revision 210944)
+++ bfd/elf32-arm.c	(working copy)
@@ -7016,6 +7016,7 @@ elf32_arm_merge_private_bfd_data (bfd * 
      in practice it isn't even close to working and there is no real
      reason to want it.  */
   if (EF_ARM_EABI_VERSION (in_flags) >= EF_ARM_EABI_VER4
+      && !(ibfd->flags & DYNAMIC)
       && (in_flags & EF_ARM_BE8))
     {
       _bfd_error_handler (_("ERROR: %B is already in final BE8 format"), 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]