bpf: renames coreout.* files to btfext-out.*.
gcc/ChangeLog: * config.gcc (target_gtfiles): Change coreout to btfext-out. (extra_objs): Change coreout to btfext-out. * config/bpf/coreout.cc: Rename to btfext-out.cc. * config/bpf/btfext-out.cc: Add. * config/bpf/coreout.h: Rename to btfext-out.h. * config/bpf/btfext-out.h: Add. * config/bpf/core-builtins.cc: Change include. * config/bpf/core-builtins.h: Change include. * config/bpf/t-bpf: Accomodate renamed files.
This commit is contained in:
parent
77142bdba4
commit
13914f4be9
6 changed files with 9 additions and 9 deletions
|
@ -1654,8 +1654,8 @@ bpf-*-*)
|
|||
tmake_file="${tmake_file} bpf/t-bpf"
|
||||
use_collect2=no
|
||||
use_gcc_stdint=provide
|
||||
extra_objs="coreout.o core-builtins.o"
|
||||
target_gtfiles="$target_gtfiles \$(srcdir)/config/bpf/coreout.cc \$(srcdir)/config/bpf/core-builtins.cc"
|
||||
extra_objs="btfext-out.o core-builtins.o"
|
||||
target_gtfiles="$target_gtfiles \$(srcdir)/config/bpf/btfext-out.cc \$(srcdir)/config/bpf/core-builtins.cc"
|
||||
;;
|
||||
cris-*-elf | cris-*-none)
|
||||
tm_file="elfos.h newlib-stdint.h ${tm_file}"
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#include "tree-pretty-print.h"
|
||||
#include "cgraph.h"
|
||||
|
||||
#include "coreout.h"
|
||||
#include "btfext-out.h"
|
||||
|
||||
/* This file contains data structures and routines for construction and output
|
||||
of BPF Compile Once - Run Everywhere (BPF CO-RE) information.
|
||||
|
@ -614,4 +614,4 @@ btf_ext_output (void)
|
|||
dw2_asm_output_data (4, 0, "Required padding by libbpf structs");
|
||||
}
|
||||
|
||||
#include "gt-coreout.h"
|
||||
#include "gt-btfext-out.h"
|
|
@ -1,4 +1,4 @@
|
|||
/* coreout.h - Declarations and definitions related to
|
||||
/* btfext-out.h - Declarations and definitions related to
|
||||
BPF Compile Once - Run Everywhere (CO-RE) support.
|
||||
Copyright (C) 2021-2024 Free Software Foundation, Inc.
|
||||
|
|
@ -45,7 +45,7 @@ along with GCC; see the file COPYING3. If not see
|
|||
|
||||
#include "ctfc.h"
|
||||
#include "btf.h"
|
||||
#include "coreout.h"
|
||||
#include "btfext-out.h"
|
||||
#include "core-builtins.h"
|
||||
|
||||
/* BPF CO-RE builtins definition.
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#ifndef BPF_CORE_BUILTINS_H
|
||||
#define BPF_CORE_BUILTINS_H
|
||||
|
||||
#include "coreout.h"
|
||||
#include "btfext-out.h"
|
||||
|
||||
enum bpf_builtins
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
TM_H += $(srcdir)/config/bpf/coreout.h $(srcdir)/config/bpf/core-builtins.h
|
||||
TM_H += $(srcdir)/config/bpf/btfext-out.h $(srcdir)/config/bpf/core-builtins.h
|
||||
|
||||
coreout.o: $(srcdir)/config/bpf/coreout.cc
|
||||
btfext-out.o: $(srcdir)/config/bpf/btfext-out.cc
|
||||
$(COMPILE) $<
|
||||
$(POSTCOMPILE)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue