OSDN Git Service

2008-06-09 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Mon, 9 Jun 2008 15:19:52 +0000 (15:19 +0000)
committerPaul Brook <paul@codesourcery.com>
Mon, 9 Jun 2008 15:19:52 +0000 (15:19 +0000)
bfd/
* elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared
libraries.

bfd/ChangeLog
bfd/elf32-arm.c

index b886cbf..3167126 100644 (file)
@@ -1,3 +1,9 @@
+2008-06-09  Paul Brook  <paul@codesourcery.com>
+
+       bfd/
+       * elf32-arm.c (elf32_arm_merge_private_bfd_data): Allow BE8 shared
+       libraries.
+
 2008-06-09  Christophe Lyon  <christophe.lyon@st.com>
 
        * elf32-arm.c (arm_stub_is_thumb): Define.
index 1101369..e691300 100644 (file)
@@ -8406,6 +8406,7 @@ elf32_arm_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
      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"),