mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
MIPS/GAS: Fix microMIPS TLS reloc classification
Fix `micromips_reloc_p' wrongly classifying microMIPS TLS relocations as non microMIPS relocations. Owing to where the function is called this issue does not trigger in reality, but with an upcoming change it would, where suitable tests will be included.
This commit is contained in:
@@ -4297,6 +4297,13 @@ micromips_reloc_p (bfd_reloc_code_real_type reloc)
|
||||
case BFD_RELOC_MICROMIPS_HIGHER:
|
||||
case BFD_RELOC_MICROMIPS_SCN_DISP:
|
||||
case BFD_RELOC_MICROMIPS_JALR:
|
||||
case BFD_RELOC_MICROMIPS_TLS_GD:
|
||||
case BFD_RELOC_MICROMIPS_TLS_LDM:
|
||||
case BFD_RELOC_MICROMIPS_TLS_DTPREL_HI16:
|
||||
case BFD_RELOC_MICROMIPS_TLS_DTPREL_LO16:
|
||||
case BFD_RELOC_MICROMIPS_TLS_GOTTPREL:
|
||||
case BFD_RELOC_MICROMIPS_TLS_TPREL_HI16:
|
||||
case BFD_RELOC_MICROMIPS_TLS_TPREL_LO16:
|
||||
return true;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user