This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RE: [PATCH][gold] Mips: Add support for MIPS R6.
- From: Vladimir Radosavljevic <Vladimir dot Radosavljevic at imgtec dot com>
- To: Cary Coutant <ccoutant at gmail dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Petar Jovanovic <Petar dot Jovanovic at imgtec dot com>
- Date: Mon, 13 Jun 2016 17:00:00 +0000
- Subject: RE: [PATCH][gold] Mips: Add support for MIPS R6.
- Authentication-results: sourceware.org; auth=none
- References: <3060420525346945A0ADBD567348A917237414FD at BADAG02 dot ba dot imgtec dot org> <CAJimCsGKKMR7nv7osgJ+Rpwp11teLg1hiRY-0xis+FY65kadGQ at mail dot gmail dot com> <3060420525346945A0ADBD567348A91723741B5F at BADAG02 dot ba dot imgtec dot org>,<CAJimCsEfJiqC_MX30n-NnMrM+wRUk+Zhg-y=stdpLuMrMsQPwQ at mail dot gmail dot com>
> But you'll still print two separate error messages, one that just says
> just "PC-relative load from unaligned address", and a second with
> details that says "relocation cannot be applied". How about simply
> returning a new STATUS_PCREL_UNALIGNED code, then print a single error
> message at the end of relocate::relocate() that's more to the point?
> You can save STATUS_BAD_RELOC for the generic "unexpected opcode while
> processing relocation".
Done.
Thanks for review!
Regards,
Vladimir