]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 19 May 2005 15:43:05 +0000 (15:43 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 19 May 2005 15:43:05 +0000 (15:43 +0000)
2005-05-18  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
relocations in unwind section.

gas/testsuite/
2005-05-18  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/reloc-uw.s: New.
* gas/ia64/reloc-uw.d: New.
* gas/ia64/reloc-uw-ilp32.d: New.
* gas/ia64/ia64.exp: Run new test.

gas/ChangeLog
gas/config/tc-ia64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/ia64/ia64.exp

index 6a8a2189fd375bd1c4e595de3a0f76514a4460b5..1f84ae6c9f599f727e0c81d20d57fa528f0865e3 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-19  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind
+       relocations in unwind section.
+
 2005-05-17  Daniel Jacobowitz  <dan@codesourcery.com>
 
        Backport from mainline:
index bb7647a4388d207cf5b3176b9e9e98f937e329ef..376dc10709fc3845c57bdfaf2d0c6ac2b6431466 100644 (file)
@@ -4420,7 +4420,13 @@ dot_endp (dummy)
       e.X_op = O_pseudo_fixup;
       e.X_op_symbol = pseudo_func[FUNC_SEG_RELATIVE].u.sym;
       e.X_add_number = 0;
-      e.X_add_symbol = unwind.proc_start;
+      if (!S_IS_LOCAL (unwind.proc_start)
+         && S_IS_DEFINED (unwind.proc_start))
+       e.X_add_symbol = symbol_temp_new (S_GET_SEGMENT (unwind.proc_start),
+                                         S_GET_VALUE (unwind.proc_start),
+                                         symbol_get_frag (unwind.proc_start));
+      else
+       e.X_add_symbol = unwind.proc_start;
       ia64_cons_fix_new (frag_now, where, bytes_per_address, &e);
 
       e.X_op = O_pseudo_fixup;
index e5ebd3450ec1c049ee9812d9c5b6bfca4ccf8aa4..d31903a461d5b8a3020a0af4e93be44268e638cb 100644 (file)
@@ -1,3 +1,10 @@
+2005-05-19  Jan Beulich  <jbeulich@novell.com>
+
+       * gas/ia64/reloc-uw.s: New.
+       * gas/ia64/reloc-uw.d: New.
+       * gas/ia64/reloc-uw-ilp32.d: New.
+       * gas/ia64/ia64.exp: Run new test.
+
 2005-04-13  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail
index cf384a4023e282f16b3bce633b9c465627de4689..be24f1de5478b4092eeb4cf8c0bb239db2355be7 100644 (file)
@@ -65,11 +65,13 @@ if [istarget "ia64-*"] then {
        run_dump_test "unwind-ilp32"
        run_dump_test "alias-ilp32"
        run_dump_test "xdata-ilp32"
+       run_dump_test "reloc-uw-ilp32"
     } else {
        run_dump_test "secname"
        run_dump_test "unwind"
        run_dump_test "alias"
        run_dump_test "xdata"
+       run_dump_test "reloc-uw"
        run_dump_test "group-1"
     }