aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-10-25 19:15:34 +0000
committerNick Clifton <nickc@redhat.com>2000-10-25 19:15:34 +0000
commit85a396941012a60ef70ccc3de7de675e67d31325 (patch)
treeaf0e619c9cf2363b2065956934e1b8ff390f93e8 /gas/read.c
parentc56a7a95d19613c5111a365a0733d4a35bfbdbf6 (diff)
downloadfsf-binutils-gdb-85a396941012a60ef70ccc3de7de675e67d31325.zip
fsf-binutils-gdb-85a396941012a60ef70ccc3de7de675e67d31325.tar.gz
fsf-binutils-gdb-85a396941012a60ef70ccc3de7de675e67d31325.tar.bz2
Add --gdwarf2 support to ARM toolchain
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index 0c8b80d..371a930 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -5002,7 +5002,14 @@ generate_lineno_debug ()
break;
case DEBUG_DWARF:
case DEBUG_DWARF2:
- /* FIXME. */
+ /* This cannot safely be done in a generic manner. A single
+ binary instruction word may span mutliple lines of assembler
+ source and may occupy a variable number of bytes. Instead,
+ if a port wishes to support DWARF2 line number generation by
+ the assembler, it should add a call to dwarf2_generate_asm_lineno
+ inside md_assemble() at whatever point is appropriate. Note,
+ such a port should also define md_end and make sure that
+ dwarf2_finish is called, to emit the accumulated line information. */
break;
}
}