nios2: recognize %gotoff relocation in assembler
authorSandra Loosemore <sandra@codesourcery.com>
Fri, 31 Jan 2020 18:32:48 +0000 (10:32 -0800)
committerSandra Loosemore <sandra@codesourcery.com>
Fri, 31 Jan 2020 18:32:48 +0000 (10:32 -0800)
commit95441c43cc0a8f30a27fe9bfc7f42f63f80b95c5
treed4c340308afa8f4159d655d9f3a30efabc952a23
parentd465d69579d477be265960820c283166cdd221d9
nios2: recognize %gotoff relocation in assembler

The nios2 ABI documentation lists %gotoff as assembler syntax for the
R_NIOS2_GOTOFF relocation, used to represent a 32-bit GOT-relative offset
in data sections.  This was previously unimplemented in GAS.

2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>

gas/
* config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
%tls_ldo.
gas/ChangeLog
gas/config/tc-nios2.c