[gcc r15-6918] bpf: make sure CO-RE relocs are typed with struct BTF_KIND_STRUCT

2025-01-15 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:d30def000abbc8d254a128751ac87a079cd10202 commit r15-6918-gd30def000abbc8d254a128751ac87a079cd10202 Author: Cupertino Miranda Date: Wed Jan 15 14:25:44 2025 + bpf: make sure CO-RE relocs are typed with struct BTF_KIND_STRUCT Based on observation within bpf

[gcc r15-6920] bpf: set index entry for a VAR_DECL in CO-RE relocs

2025-01-15 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:01c37f9a4f1d272183ea90bab4f5d527089fc3dc commit r15-6920-g01c37f9a4f1d272183ea90bab4f5d527089fc3dc Author: Cupertino Miranda Date: Wed Jan 15 14:38:32 2025 + bpf: set index entry for a VAR_DECL in CO-RE relocs CO-RE accesses with non pointer struct variab

[gcc r15-6919] bpf: calls do not promote attr access_index on lhs

2025-01-15 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:42786ccf1cb4ebe24945b75898d51675d532af6b commit r15-6919-g42786ccf1cb4ebe24945b75898d51675d532af6b Author: Cupertino Miranda Date: Wed Jan 15 14:28:59 2025 + bpf: calls do not promote attr access_index on lhs When traversing gimple to introduce CO-RE relo

[gcc r15-2153] bpf: create modifier for mem operand for xchg and cmpxchg

2024-07-19 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:8fbc386c12385378b01a744c6764b5660d4b4310 commit r15-2153-g8fbc386c12385378b01a744c6764b5660d4b4310 Author: Cupertino Miranda Date: Thu Jul 11 15:28:09 2024 +0100 bpf: create modifier for mem operand for xchg and cmpxchg Both xchg and cmpxchg instructions, in

[gcc r14-10038] bpf: remove huge memory waste with string allocation.

2024-04-19 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:ede01dfd9dd85e03dea30402e773c62f0408adbe commit r14-10038-gede01dfd9dd85e03dea30402e773c62f0408adbe Author: Cupertino Miranda Date: Tue Apr 2 12:04:28 2024 +0100 bpf: remove huge memory waste with string allocation. The BPF backend was allocating an unnecessa

[gcc r14-10037] bpf: support more instructions to match CO-RE relocations

2024-04-19 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:d7190d0b9a8e395f46b475e4d525f2b6a0ce4df4 commit r14-10037-gd7190d0b9a8e395f46b475e4d525f2b6a0ce4df4 Author: Cupertino Miranda Date: Wed Mar 20 19:06:47 2024 + bpf: support more instructions to match CO-RE relocations BPF supports multiple instructions to

[gcc r14-9677] btf: Emit labels in DATASEC bts_offset entries.

2024-03-26 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:fa60ac549649655a3f55e69f83d2e97423d3eb5c commit r14-9677-gfa60ac549649655a3f55e69f83d2e97423d3eb5c Author: Cupertino Miranda Date: Tue Mar 26 11:59:47 2024 + btf: Emit labels in DATASEC bts_offset entries. GCC was defining bts_offset entry to always conta

[gcc r14-9585] bpf: Corrected index computation when present with unnamed struct fields

2024-03-20 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:f10c18df9c02dc518360426c021971838e0012d2 commit r14-9585-gf10c18df9c02dc518360426c021971838e0012d2 Author: Cupertino Miranda Date: Fri Mar 8 13:33:42 2024 + bpf: Corrected index computation when present with unnamed struct fields Any unnamed non-struct-or

[gcc r14-9584] bpf: Fix access string default for CO-RE type based relocations

2024-03-20 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:624d025f62fdbc969cca08fdb1ac77246b8535a5 commit r14-9584-g624d025f62fdbc969cca08fdb1ac77246b8535a5 Author: Cupertino Miranda Date: Tue Mar 5 11:53:56 2024 + bpf: Fix access string default for CO-RE type based relocations Although part of all CO-RE relocat

[gcc r14-9583] bpf: Fix CO-RE field expression builtins

2024-03-20 Thread Cupertino Miranda via Gcc-cvs
https://gcc.gnu.org/g:8e913b5c0c998b2ae9497a6ff6bdf475c136cd97 commit r14-9583-g8e913b5c0c998b2ae9497a6ff6bdf475c136cd97 Author: Cupertino Miranda Date: Tue Jan 30 15:55:18 2024 + bpf: Fix CO-RE field expression builtins This patch corrects bugs within the CO-RE builtin field