aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-bpf.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gas/config/tc-bpf.c b/gas/config/tc-bpf.c
index aa70158..1f8b0cc 100644
--- a/gas/config/tc-bpf.c
+++ b/gas/config/tc-bpf.c
@@ -274,15 +274,8 @@ md_cgen_lookup_reloc (const CGEN_INSN *insn ATTRIBUTE_UNUSED,
{
switch (operand->type)
{
- case BPF_OPERAND_OFFSET16:
- return BFD_RELOC_BPF_16;
- case BPF_OPERAND_IMM32:
- return BFD_RELOC_BPF_32;
case BPF_OPERAND_IMM64:
return BFD_RELOC_BPF_64;
- case BPF_OPERAND_DISP16:
- fixP->fx_pcrel = 1;
- return BFD_RELOC_BPF_DISP16;
case BPF_OPERAND_DISP32:
fixP->fx_pcrel = 1;
return BFD_RELOC_BPF_DISP32;