diff options
author | Thiemo Seufer <ths@networkno.de> | 2001-11-15 09:50:00 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2001-11-15 09:50:00 +0000 |
commit | 645dc66c72dd0a380df64a988c0e599e5bcfd39c (patch) | |
tree | b7c64fc7dd765ae475ddbf2b786cf857e1a40668 | |
parent | f9f32305f762f5680c12948d85444aff09f0cbe6 (diff) | |
download | gdb-645dc66c72dd0a380df64a988c0e599e5bcfd39c.zip gdb-645dc66c72dd0a380df64a988c0e599e5bcfd39c.tar.gz gdb-645dc66c72dd0a380df64a988c0e599e5bcfd39c.tar.bz2 |
* config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-mips.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4a2ed82..2eaa5fd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2001-11-15 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler. + 2001-11-15 Alan Modra <amodra@bigpond.net.au> * frags.c (frag_grow): Revert last change. diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 7f20c65..2e4a890 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -8374,14 +8374,14 @@ mips_ip (str, ip) if (imm_expr.X_op == O_constant) imm_expr.X_add_number = (imm_expr.X_add_number >> 16) & 0xffff; -#ifdef OBJ_ELF - else if (c == S_EX_HIGHEST) - *imm_reloc = BFD_RELOC_MIPS_HIGHEST; else if (c == S_EX_HI) { *imm_reloc = BFD_RELOC_HI16_S; imm_unmatched_hi = true; } +#ifdef OBJ_ELF + else if (c == S_EX_HIGHEST) + *imm_reloc = BFD_RELOC_MIPS_HIGHEST; else if (c == S_EX_GP_REL) { /* This occurs in NewABI only. */ |