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, Hans-Peter Nilsson wrote:

> 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.

 Well, I think it makes sense to treat a compound reloc as one, even if it 
is defined as a sequence of simpler operations.  It only takes just a 
single reloc record in the output file too (with up to three operations 
included).

  Maciej


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