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 b886cbf8e4e5c0ad50c9502d93508d9b17377aef..3167126c3b96d1084ff069a49995ef7d1cfb4f56 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 1101369917e09ac03c04969941081ef45302b9e2..e691300efd3dafa3704ac1fb79e58e73c77b5fc6 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"),