diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-05-19 06:32:01 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-05-19 06:32:01 +0000 |
commit | 4600db4835639751fda271513fa57e375e334e5e (patch) | |
tree | dc23c93369b8bb13748a7ec3f5872357eb4abc80 /gas/config/tc-ia64.c | |
parent | abb333a4ed62b30ac31da2660f386d391d30649e (diff) | |
download | gdb-4600db4835639751fda271513fa57e375e334e5e.zip gdb-4600db4835639751fda271513fa57e375e334e5e.tar.gz gdb-4600db4835639751fda271513fa57e375e334e5e.tar.bz2 |
gas/
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.
gas/testsuite/
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.
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r-- | gas/config/tc-ia64.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 43b79e5..27fa7aa 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -4442,7 +4442,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; |