mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-26 04:08:13 +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.
15 lines
352 B
Plaintext
15 lines
352 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(Makefile.in)
|
|
sinclude(../common/acinclude.m4)
|
|
|
|
SIM_AC_COMMON
|
|
|
|
SIM_AC_OPTION_BITSIZE([64])
|
|
SIM_AC_OPTION_ENDIAN([], [LITTLE])
|
|
SIM_AC_OPTION_ALIGNMENT(NONSTRICT_ALIGNMENT)
|
|
SIM_AC_OPTION_SCACHE(16384)
|
|
SIM_AC_OPTION_DEFAULT_MODEL([bpf-def])
|
|
SIM_AC_OPTION_CGEN_MAINT
|
|
|
|
SIM_AC_OUTPUT
|