From: Jan Beulich Date: Thu, 19 May 2005 15:43:05 +0000 (+0000) Subject: gas/ X-Git-Tag: binutils-2_16_1~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bbac47edb0abdfc596bb25cebfd971bf8950d95e;p=thirdparty%2Fbinutils-gdb.git gas/ 2005-05-18 Jan Beulich * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind relocations in unwind section. gas/testsuite/ 2005-05-18 Jan Beulich * 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 6a8a2189fd3..1f84ae6c9f5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-05-19 Jan Beulich + + * config/tc-ia64.c (dot_endp): Don't use global symbol for unwind + relocations in unwind section. + 2005-05-17 Daniel Jacobowitz Backport from mainline: diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index bb7647a4388..376dc10709f 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -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; diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e5ebd3450ec..d31903a461d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2005-05-19 Jan Beulich + + * 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 * gas/mips/ldstla-32.s: Exclude offsets that are now meant to fail diff --git a/gas/testsuite/gas/ia64/ia64.exp b/gas/testsuite/gas/ia64/ia64.exp index cf384a4023e..be24f1de547 100644 --- a/gas/testsuite/gas/ia64/ia64.exp +++ b/gas/testsuite/gas/ia64/ia64.exp @@ -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" }