aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.cc
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2021-12-14 12:41:30 -0800
committerDavid Faust <david.faust@oracle.com>2022-01-18 13:20:49 -0800
commit43ec2652134239f83cd4c06bc4d8158acc0721cf (patch)
tree4abae0ea73485d9c1a66c157d25ba02822e8b95d /gcc/bitmap.cc
parent2aefe248aa4160205c44808166393a42031d2dea (diff)
downloadgcc-43ec2652134239f83cd4c06bc4d8158acc0721cf.zip
gcc-43ec2652134239f83cd4c06bc4d8158acc0721cf.tar.gz
gcc-43ec2652134239f83cd4c06bc4d8158acc0721cf.tar.bz2
bpf: write CO-RE relocation record size only once
The CO-RE relocation record size should be written only once in the .BTF.ext section, not once for each section with relocations. gcc/ChangeLog: * config/bpf/coreout.cc (output_btfext_header): Account for 4-byte record size in core_relo_len. (output_btfext_core_sections): Only write record size once. * config/bpf/coreout.h (btf_ext_section_header): Delete unused member. gcc/testsuite/ChangeLog: * gcc.target/bpf/core-section-1.c: Adjust expected record size occurrences.
Diffstat (limited to 'gcc/bitmap.cc')
0 files changed, 0 insertions, 0 deletions