Re: [PATCH 6/7] MIPS: Apply `.insn' to fixup labels throughout

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

 



On Mon, 17 Nov 2014, Steven J. Hill wrote:

> > I see someone has just fixed this issue in one place, so I had to 
> > regenerate the change I originally made against 3.17, but I really
> > fail to see why not to fix it throughout at once.
> > 
> In our earlier branches I believe all of the '.insn' pseudo-ops were in
> place. I remember removing a number of them during release testing since
> they appeared to not make any difference. It appears that use of
> different toolchains has shown that to be in error.

 Well, people keep adding code so these fixups may well have not been 
there previously.  And not all source code is compiled in all 
configurations so if you rely on build-time checking then you may well 
miss a bit here or there.  The best way at the moment is to scan through 
all code or watch as people push changes and react.

 It would be better if we had a way to handle it automatically, or maybe 
even better yet if GAS did not lose the ISA bit on a label when there is 
a temporary section switch between the label and the following 
instruction.  As much as I'd like doing this changing GAS to be able to 
carry the ISA bit across a section switch is non-trivial though, it 
would be a major effort to implement it, so at least for the time being 
we have to live with what we have now.

 Thanks for your review.

  Maciej





[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux