~ubuntu-support-team/binutils/+git/binutils-gdb:users/vapier/sim/doc

Last commit made on 2024-01-02
Get this branch:
git clone -b users/vapier/sim/doc https://git.launchpad.net/~ubuntu-support-team/binutils/+git/binutils-gdb

Branch merges

Branch information

Name:
users/vapier/sim/doc
Repository:
lp:~ubuntu-support-team/binutils/+git/binutils-gdb

Recent commits

60fffa9... by Mike Frysinger

sim: ppc: always compile in the sysv sem & shm device files

Move the stub logic to the device files themselves. This makes the
configure & build logic more static which will make it easier to move
to the top-level build, and matches what we did with the common/ hw
tree already.

This also decouples the logic from the two -- in the past, you needed
both sem & shm in order to enable the device models, but now each one
is tied to its own independent knob. Practically speaking, this will
probably not make a difference, but it simplifies the build a bit.

8a24c85... by Mike Frysinger

sim: ppc: change SysV sem & shm tests to compile-time

Instead of executing code to see if SysV semaphores & shared memory
are available, switch to just a compile-time test. The system used
to compile might not match the system used to run the code wrt the
current kernel & OS settings, but the library APIs should. So move
the failures from compile-time to runtime so the program is more
portable, and works correctly even when cross-compiling.

eebc029... by Mike Frysinger

sim: ppc: merge System V semaphores checks

Compile tests can use earlier defines, so hoist the HAVE_UNION_SEMUN
define to before the semaphore check, and use it in the test so that
we can merge the 2 versions into one.

This also defines HAVE_UNION_SEMUN even when ac_cv_sysv_sem is not
set, but that's OK as this define is only about a type existing, not
about whether the overall code is usable.

eb0b691... by Mike Frysinger

sim: ppc: fix bad AC_CACHE_CHECK call with semun

The first arg is the cache var name, and this one was typoed relative
to what the call actually set. We also don't need the manual call to
AC_MSG_RESULT as the AC_CACHE_CHECK takes care of it for us.

4b79f86... by Mike Frysinger

sim: start a manual [PR sim/7582]

There's a lot of content in here, but there's also a decent amount of
skeleton for filling out more. The arch chapters need a bit of work.
But should be good enough for release now.

Bug: https://sourceware.org/PR7582

1b89e2b... by Mike Frysinger

sim: ppc: merge misc igen APIs

The common igen code provides the same misc APIs as the ppc version,
so delete the ppc code and pull in the common one. There is one
minor difference: the ppc code has a unique dumpf function. The
common code switched to lf_printf for the same functionality, but
since that requires changes throughout the igen codebase, delay that
cleanup for now so we can merge the rest.

9ddac09... by Mike Frysinger

sim: ppc: rework igen error to match common

Switch to an ERROR macro and tweak the error signature to match the
common igen version in preparation for merging the two implementations.

ef993df... by Mike Frysinger

sim: igen: extend error to take arguments

The ppc igen error helper allows arbitrary printf calls, so extend
the common one to do the same.

9b6e0cb... by Mike Frysinger

sim: ppc: rename igen max_insn_bit_size

We want to avoid conflicts with the common igen enums. This should
get migrated over to the common parsing logic, but for now, switch
the name to avoid redefinition.

fd520e1... by Mike Frysinger

sim: igen: minor constify logic

Copy some improvements from the ppc igen code.