diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-06-23 22:17:47 +0545 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-01-02 20:55:21 -0500 |
commit | 0ede24f2c46d2b888f5e19418e577f3c1110f6a5 (patch) | |
tree | fa410e70e724d2dc61347f24e137b9aecbcc6efb /sim/bfin/ChangeLog | |
parent | 3b47e132c439a5ac477bc07fab06edaa45fa0533 (diff) | |
download | gdb-0ede24f2c46d2b888f5e19418e577f3c1110f6a5.zip gdb-0ede24f2c46d2b888f5e19418e577f3c1110f6a5.tar.gz gdb-0ede24f2c46d2b888f5e19418e577f3c1110f6a5.tar.bz2 |
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.
Diffstat (limited to 'sim/bfin/ChangeLog')
-rw-r--r-- | sim/bfin/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 18f2873..d82bc5e 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,8 @@ +2021-01-02 Mike Frysinger <vapier@gentoo.org> + + * interp.c: Change ALIGN to align_up. + * sim-main.h (ALIGN): Delete + 2020-08-21 Simon Marchi <simon.marchi@polymtl.ca> * configure.ac: Include config/pkg.m4. |