bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remove redundant call to listing_prev_line() in tc-arm.c


From: Nick Clifton
Subject: Remove redundant call to listing_prev_line() in tc-arm.c
Date: 13 May 2002 12:32:02 +0100

Hi Guys,

  I am applying the patch below to remove the call to listing_prev_line()
  in tc-arm.c:md_assemble().  According to the comment in listing.c
  this function is only intended to be used by the MIPS backend (or
  other architectures with delay slots) and one user has reported that
  its presence in the ARM assembler significantly slows down the
  listing output when run on very large input files.

Cheers
        Nick

2002-05-13  Nick Clifton  <address@hidden>

        * config/tc-arm.c (md_assemble): Remove redundant call to
        listing_prev().

Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.119
diff -c -3 -p -w -r1.119 tc-arm.c
*** gas/config/tc-arm.c 9 May 2002 13:12:57 -0000       1.119
--- gas/config/tc-arm.c 13 May 2002 11:27:29 -0000
*************** md_assemble (str)
*** 10399,10405 ****
  #if 0
    arm_align (2, 0);
  #endif
-   listing_prev_line (); /* Defined in listing.h.  */
  
    /* Align the previous label if needed.  */
    if (last_label_seen != NULL)
--- 10399,10404 ----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]