binutils-gdb/sim
Jose E. Marchesi 0316fb52d6 bpf: several small fixes in the simulator
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.
2020-09-03 18:22:08 +02:00
..
aarch64
arm [ARM, sim] Fix build failure with -Werror (PR26365) 2020-08-13 10:32:52 -03:00
avr
bfin sim/bfin: include config/pkg.m4 in configure.ac 2020-08-21 11:55:08 -04:00
bpf bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00
common [sim] Fix mbuild build breaker in sim-cpu.c 2020-08-10 17:26:09 +02:00
cr16
cris
d10v
erc32 Run autoreconf -vf throughout 2020-07-29 16:03:55 -04:00
frv
ft32
h8300
igen
iq2000
lm32
m32c
m32r
m68hc11
mcore
microblaze
mips Run autoreconf -vf throughout 2020-07-29 16:03:55 -04:00
mn10300
moxie
msp430 MSP430: sim: Increase main memory region size 2020-08-07 11:01:22 +01:00
or1k
ppc
pru
rl78
rx
sh
sh64
testsuite MSP430: sim: Fix incorrect simulation of unsigned widening multiply 2020-08-05 15:02:30 +01:00
v850
.gitignore
ChangeLog bpf: several small fixes in the simulator 2020-09-03 18:22:08 +02:00
configure sim: better handle builds of primary targets lacking sims 2020-09-03 18:21:20 +02:00
configure.ac sim: better handle builds of primary targets lacking sims 2020-09-03 18:21:20 +02:00
configure.tgt sim: eBPF simulator 2020-08-04 18:09:16 +02:00
MAINTAINERS sim: eBPF simulator 2020-08-04 18:09:16 +02:00
Makefile.in
README-HACKING