mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
This patch fixes the following problems: - Missing includes in several files leading to implicit function declarations. - Missing prototype for bpf_trace_printk in bpf-helpers.h - The simulator bitsize was set to 32 bits, causing truncation of the program counter. Tested in bpf-unknown-none. sim/ChangeLog: 2020-09-03 Jose E. Marchesi <jose.marchesi@oracle.com> * bpf/bpf.c: Include bpf-helpers.h. * bpf/bpf-helpers.h: Provide a prototype for bpf_trace_printk. * bpf/configure.ac: Set simulator bitsize to 64. * bpf/configure (includedir): Regenerate. * bpf/sim-if.c: Include stdlib.h. * bpf/traps.c: Likewise. |
||
---|---|---|
.. | ||
aclocal.m4 | ||
arch.c | ||
arch.h | ||
bpf-helpers.c | ||
bpf-helpers.def | ||
bpf-helpers.h | ||
bpf-sim.h | ||
bpf.c | ||
config.in | ||
configure | ||
configure.ac | ||
cpu.c | ||
cpu.h | ||
cpuall.h | ||
decode-be.c | ||
decode-be.h | ||
decode-le.c | ||
decode-le.h | ||
decode.h | ||
defs-be.h | ||
defs-le.h | ||
eng.h | ||
Makefile.in | ||
mloop.in | ||
sem-be.c | ||
sem-le.c | ||
sim-if.c | ||
sim-main.h | ||
traps.c |