binutils-gdb/sim
Mike Frysinger 0ede24f2c4 sim: common: add align_{up,down} to match gdb
We have ALIGN_{8,16,PAGE} and FLOOR_PAGE macros (where PAGE is defined as
4k) which were imported from the ppc sim.  But no other sim utilizes these
and hardcoding the sizes in the name is a bit limiting.

Let's delete these and import the two general macros that gdb uses:
	align_up(addr, bytes)
	align_down(addr, bytes)

This in turn allows us to cut over the Blackfin code immediately.
2021-01-02 20:55:21 -05:00
..
aarch64 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
arm Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
avr Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
bfin sim: common: add align_{up,down} to match gdb 2021-01-02 20:55:21 -05:00
bpf Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
common sim: common: add align_{up,down} to match gdb 2021-01-02 20:55:21 -05:00
cr16 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cris Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
d10v Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
erc32 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
frv Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ft32 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
h8300 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
igen Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
iq2000 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
lm32 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m32c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m32r Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
m68hc11 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mcore Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
microblaze Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mips Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
mn10300 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
moxie Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
msp430 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
or1k Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ppc Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
pru Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
rl78 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
rx Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sh Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sh64 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
testsuite Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
v850 Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
.gitignore
ChangeLog sim/bpf: re-generate configure 2020-11-01 19:39:11 -05: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
MAINTAINERS
Makefile.in Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
README-HACKING