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]

[SPARC, COMMITTED 0/2] Fix emitting errors on invalid relocations


From: jose.marchesi@oracle.com

Hi people!

I just committed the following couple small patches related to issuing
of errors when reading in relocations.

The first patch concerns sparc64 targets, making BFD to emit an error
message when a relocation referring to an invalid symbol index is
read, like it is done in the generic ELF code.  There is no change in
semantics.  The binutils strip-14 test now passes in sparc64.

The second patch avoids emitting a duplicated error message when an
invalid relocation number is found.  This happened in sparc (32-bit)
targets.  The binutils strip-13 test now passes in sparc.

Salud!

Jose E. Marchesi (2):
  bfd, sparc: issue an error when reading relocations with invalid
    symbol references.
  bfd, sparc: avoid duplicated error messages on invalid relocations.

 bfd/ChangeLog     | 12 ++++++++++++
 bfd/elf64-sparc.c | 18 +++++++++++++-----
 bfd/elfxx-sparc.c |  2 --
 3 files changed, 25 insertions(+), 7 deletions(-)

-- 
2.11.0


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