aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-18 18:16:21 +0000
committerJeff Law <law@redhat.com>1999-09-18 18:16:21 +0000
commite061d86ffddc6e21cc949775f957db933ee741b7 (patch)
tree6a464dcce0364b0de72ce92b4528b3b8b9a9a22d /gas
parentdebc018de3f5bd6424c3fa5590e34b76a5fd5daa (diff)
downloadfsf-binutils-gdb-e061d86ffddc6e21cc949775f957db933ee741b7.zip
fsf-binutils-gdb-e061d86ffddc6e21cc949775f957db933ee741b7.tar.gz
fsf-binutils-gdb-e061d86ffddc6e21cc949775f957db933ee741b7.tar.bz2
* config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
(pa_ip): Handle 'fX'.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog10
-rw-r--r--gas/config/tc-hppa.c14
2 files changed, 18 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e4bc208..5db60d9 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,13 @@
+at Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
+
+ * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
+ (pa_ip): Handle 'fX'.
+
+Sat Sep 18 12:13:28 1999 Jeffrey A Law (law@cygnus.com)
+
+ * config/tc-hppa.c (md_assemble): Fix dwarf2 line handling.
+ (pa_ip): Handle 'fX'.
+
Fri Sep 17 11:57:34 1999 Jeffrey A Law (law@cygnus.com)
* config/tc-hppa.c (pa_build_unwind_subspace): Do not build
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 1f42154..c3d0985 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -1463,14 +1463,15 @@ md_assemble (str)
{
bfd_vma addr;
- /* I haven't got a clue why the -8 is necessary, but this
- seems to work. Someone should really document what all
- the frag nonsense does and more precisely what the dwarf2
- code needs. */
+ /* First update the notion of the current source line. */
+ dwarf2_where (&debug_line);
+
+ /* We want the offset of the start of this instruction within the
+ the current frag. */
+ addr = frag_now->fr_address + frag_now_fix () - 4;
- addr = frag_now->fr_address + frag_now_fix () - 8;
+ /* And record the information. */
dwarf2_gen_line_info (addr, &debug_line);
- dwarf2_where (&debug_line);
}
#endif
}
@@ -3157,6 +3158,7 @@ pa_ip (str)
}
/* Float operand 1 with L/R selection. */
+ case 'X':
case 'A':
{
struct pa_11_fp_reg_struct result;