This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [PATCH] MIPS/BFD: Handle linker garbage collection with n64 relocs


On Sat, 28 Apr 2012, Maciej W. Rozycki wrote:
>  So here's the resulting change, but obviously because of the API change
> of RELOC_AGAINST_DISCARDED_SECTION it now touches virtually everything.

An alternative change would be to introduce a new macro
RELOCS_AGAINST_DISCARDED_SECTION (note S) with the new API and
change the old one to be a wrapper, adding the count 1 and index 0.
...but in the end I think it's better to avoid that and do like
you did, if only by a little bit.  Ok, maybe actually do the
rename part; it's no longer a single reloc.  Either way, an
obvious "ok" for the CRIS change.

brgds, H-P


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