]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2006-09-05 Vladimir Prus <vladimir@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Tue, 5 Sep 2006 16:25:48 +0000 (16:25 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 5 Sep 2006 16:25:48 +0000 (16:25 +0000)
bfd/
* elf32-arm.c (elf32_arm_swap_symbol_out): Remove
unconditionall setting of low bit for Thumb symbol
mistakenly left behind after check for external
symbols was added.

ld/testsuite/
* ld-arm/use-thumb-lib.sym: Use regexps instead of
absolute addresses, for robustness.

ChangeLog.csl
bfd/elf32-arm.c
ld/testsuite/ld-arm/use-thumb-lib.sym

index 7d820e1dbc7d19fdfdbbc7dbd6bb9a4471576de9..3ad0a094f4dbb096cc5f7e1b7568ac0a5d0f6057 100644 (file)
@@ -1,3 +1,15 @@
+2006-09-05  Vladimir Prus  <vladimir@codesourcery.com>
+
+       bfd/
+       * elf32-arm.c (elf32_arm_swap_symbol_out): Remove
+       unconditionall setting of low bit for Thumb symbol
+       mistakenly left behind after check for external
+       symbols was added.
+
+       ld/testsuite/
+       * ld-arm/use-thumb-lib.sym: Use regexps instead of
+       absolute addresses, for robustness.
+
 2006-09-05  Julian Brown  <julian@codesourcery.com>
 
        gas/
index 5de108aa2602e4e4d701be24f6aff1e629e84526..d1fa73108daf1134847d70c7c84cbb43ccc7cf25 100644 (file)
@@ -9452,8 +9452,6 @@ elf32_arm_swap_symbol_out (bfd *abfd,
           */
           newsym.st_value |= 1;
         }
-
-      newsym.st_value |= 1;
       
       src = &newsym;
     }
index b4cb1805dfd4645794110abf2d31dc5abfbcb751..06cde2a2a511883bb365c6a5c3955117f6d79892 100644 (file)
@@ -1,15 +1,16 @@
 
 Symbol table for image:
   Num Buc:    Value  Size   Type   Bind Vis      Ndx Name
-   11   0: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS _edata
-   10   0: 00000268    20    FUNC GLOBAL DEFAULT   6 foo
-    4   0: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS __bss_start__
-   12   1: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS _end
-    7   1: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS __bss_end__
-    5   1: 0000027c     0  NOTYPE GLOBAL DEFAULT ABS __exidx_start
-   13   2: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS __data_start
-    9   2: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS __end__
-    8   2: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS __bss_start
+   11   0: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS _edata
+   10   0: [0-9a-f]*    20    FUNC GLOBAL DEFAULT   6 foo
+    4   0: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS __bss_start__
+   12   1: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS _end
+    7   1: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS __bss_end__
+    5   1: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS __exidx_start
+   14   2: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS __data_start
+   13   2: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS _stack
+    9   2: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS __end__
+    8   2: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS __bss_start
     6   2: 00000000     2    FUNC GLOBAL DEFAULT UND lib_func2
-    3   2: 0000830c     0  NOTYPE GLOBAL DEFAULT ABS _bss_end__
-    2   2: 0000027c     0  NOTYPE GLOBAL DEFAULT ABS __exidx_end
+    3   2: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS _bss_end__
+    2   2: [0-9a-f]*     0  NOTYPE GLOBAL DEFAULT ABS __exidx_end