This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Suspected bug in the current m68k gas relaxer



  In message <0004192035.AA08005@ivan.Harhan.ORG>you write:
  > The patch is below. Please check it in. While we are at it, what happened t
  > o my
  > previous patch that fixes the relaxer's handling of flag_short_refs (-l)?
  > 
  > > You might want to think about writing a test case which we can add to
  > > the gas testsuite.
  > 
  > Testing what?
For proper operation of the relaxing code for this case.

One way to do this is to have an assembly file which will trigger the problem
you're trying to solve.  Have the assembler assemble it, then run objdump to
verify that the assembler properly relaxed the code.

Wander around gas/testsuite/* -- there should be some examples of this
technique already available that you can use as a guideline.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]