aboutsummaryrefslogtreecommitdiff
path: root/gas/listing.c
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-04 19:45:19 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-04 19:45:19 +0000
commit24a17b6c620fbe76e249dae587e0618a876a6d0f (patch)
tree2a86af40d29b279c9c39962a2de4b43c537d2162 /gas/listing.c
parent789cba25dd417a644f709a3e3c3985f0aeae9f8f (diff)
downloadgdb-24a17b6c620fbe76e249dae587e0618a876a6d0f.zip
gdb-24a17b6c620fbe76e249dae587e0618a876a6d0f.tar.gz
gdb-24a17b6c620fbe76e249dae587e0618a876a6d0f.tar.bz2
Remove conditionals causing a bug in listings.
Diffstat (limited to 'gas/listing.c')
-rw-r--r--gas/listing.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/gas/listing.c b/gas/listing.c
index 441cac2..0df6aa1 100644
--- a/gas/listing.c
+++ b/gas/listing.c
@@ -713,15 +713,8 @@ print_lines (list, lineno, string, address)
while (src[cur] && idx < nchars)
{
int offset;
-#if TARGET_BYTES_BIG_ENDIAN != 0
offset = cur;
fprintf (list_file, "%c%c", src[offset], src[offset+1]);
-#else
- offset = (cur & ~(LISTING_WORD_SIZE * 2 - 1))
- + (LISTING_WORD_SIZE - octet_in_word - 1) * 2;
- if (offset < end)
- fprintf (list_file, "%c%c", src[offset], src[offset+1]);
-#endif
cur += 2;
octet_in_word++;
@@ -764,15 +757,8 @@ print_lines (list, lineno, string, address)
while (src[cur] && idx < nchars)
{
int offset;
-#if TARGET_BYTES_BIG_ENDIAN != 0
offset = cur;
fprintf (list_file, "%c%c", src[offset], src[offset+1]);
-#else
- offset = (cur & ~(LISTING_WORD_SIZE * 2 - 1))
- + (LISTING_WORD_SIZE - octet_in_word - 1) * 2;
- if (offset < end)
- fprintf (list_file, "%c%c", src[offset], src[offset+1]);
-#endif
cur += 2;
idx += 2;
octet_in_word++;