From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7918) id 777703858C31; Wed, 28 Feb 2024 19:24:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 777703858C31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709148258; bh=VezJftoQ90vhe3d4OTPyc3U7Pp40JEschQX6wv5l5Ys=; h=From:To:Subject:Date:From; b=icRbx4IYT8HjEaXnun1//zABfN20C7L5twG9MbB+GSbYgaaJIvSBKAccRrI9FaOOo 2jgH6BKuk6mSEnxa5y7tsXccyBKlrmg2Z08i+Fq0bjQ09SpMiKa7K/nXuYos6Xa9K3 T1rB6+rKkiUwdQq5OhfXgLe87t/FEbFAVQZUdEyM= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Cupertino Miranda To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-9225] bpf: renames coreout.* files to btfext-out.*. X-Act-Checkin: gcc X-Git-Author: Cupertino Miranda X-Git-Refname: refs/heads/master X-Git-Oldrev: 77142bdba485057550c5d849864948b0d20be8af X-Git-Newrev: 13914f4be9d7d4ac075e780b7a4bd8bac2ca1f15 Message-Id: <20240228192418.777703858C31@sourceware.org> Date: Wed, 28 Feb 2024 19:24:17 +0000 (GMT) List-Id: https://gcc.gnu.org/g:13914f4be9d7d4ac075e780b7a4bd8bac2ca1f15 commit r14-9225-g13914f4be9d7d4ac075e780b7a4bd8bac2ca1f15 Author: Cupertino Miranda Date: Mon Feb 12 17:56:04 2024 +0000 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. Diff: --- gcc/config.gcc | 4 ++-- gcc/config/bpf/{coreout.cc => btfext-out.cc} | 4 ++-- gcc/config/bpf/{coreout.h => btfext-out.h} | 2 +- gcc/config/bpf/core-builtins.cc | 2 +- gcc/config/bpf/core-builtins.h | 2 +- gcc/config/bpf/t-bpf | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gcc/config.gcc b/gcc/config.gcc index 2e35a112040..a1480b72c46 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -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}" diff --git a/gcc/config/bpf/coreout.cc b/gcc/config/bpf/btfext-out.cc similarity index 99% rename from gcc/config/bpf/coreout.cc rename to gcc/config/bpf/btfext-out.cc index 14066523682..00d2501a976 100644 --- a/gcc/config/bpf/coreout.cc +++ b/gcc/config/bpf/btfext-out.cc @@ -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" diff --git a/gcc/config/bpf/coreout.h b/gcc/config/bpf/btfext-out.h similarity index 98% rename from gcc/config/bpf/coreout.h rename to gcc/config/bpf/btfext-out.h index 1c26b927473..b36309475c9 100644 --- a/gcc/config/bpf/coreout.h +++ b/gcc/config/bpf/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. diff --git a/gcc/config/bpf/core-builtins.cc b/gcc/config/bpf/core-builtins.cc index aa75fd68cae..8d8c54c1fb3 100644 --- a/gcc/config/bpf/core-builtins.cc +++ b/gcc/config/bpf/core-builtins.cc @@ -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. diff --git a/gcc/config/bpf/core-builtins.h b/gcc/config/bpf/core-builtins.h index c54f6ddac81..e56b55b94e0 100644 --- a/gcc/config/bpf/core-builtins.h +++ b/gcc/config/bpf/core-builtins.h @@ -1,7 +1,7 @@ #ifndef BPF_CORE_BUILTINS_H #define BPF_CORE_BUILTINS_H -#include "coreout.h" +#include "btfext-out.h" enum bpf_builtins { diff --git a/gcc/config/bpf/t-bpf b/gcc/config/bpf/t-bpf index 18f1fa67794..dc50332350c 100644 --- a/gcc/config/bpf/t-bpf +++ b/gcc/config/bpf/t-bpf @@ -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)