diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2001-03-29 02:29:38 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2001-03-29 02:29:38 +0000 |
commit | d551a338e2a48edc7f970822cb980954f7db3ee2 (patch) | |
tree | c7360c9c7acdaca8fc03e228e646a7cef01e187d /gas/config/tc-cris.c | |
parent | 2e94c4530460ddbbe83590c7ea01e1128e36c126 (diff) | |
download | gdb-d551a338e2a48edc7f970822cb980954f7db3ee2.zip gdb-d551a338e2a48edc7f970822cb980954f7db3ee2.tar.gz gdb-d551a338e2a48edc7f970822cb980954f7db3ee2.tar.bz2 |
* config/tc-cris.h (tc_fix_adjustable): Allow only
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs.
* config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in
example to valid.
Diffstat (limited to 'gas/config/tc-cris.c')
-rw-r--r-- | gas/config/tc-cris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-cris.c b/gas/config/tc-cris.c index 565d3f6..24fecfb 100644 --- a/gas/config/tc-cris.c +++ b/gas/config/tc-cris.c @@ -2570,7 +2570,7 @@ cris_get_pic_suffix (cPP, relocp, exprP) /* Allow complex expressions as the constant part. It still has to be a assembly-time constant or there will be an error emitting the reloc. This makes the PIC qualifiers - idempotent; foo:GOT+32 == foo+32:GOT. The former we + idempotent; foo:GOTOFF+32 == foo+32:GOTOFF. The former we recognize here; the latter is parsed in the incoming expression. */ exprP->X_add_symbol = make_expr_symbol (exprP); |