[OpenWrt-Devel] [PATCH] generic: mips: exclude more dsemul code when fpu-emu is not enabled
Yousong Zhou
yszhou4tech at gmail.com
Sun Mar 29 23:32:09 EDT 2020
On Mon, 30 Mar 2020 at 07:17, Rosen Penev <rosenp at gmail.com> wrote:
>
> On Sun, Mar 29, 2020 at 8:34 AM Hauke Mehrtens <hauke at hauke-m.de> wrote:
> >
> > On 3/27/20 5:28 AM, Yousong Zhou wrote:
> > > The patch is backported from mips-next. In addition to minor reduction
> > > of code size and runtime memory use, the more apparent difference is
> > > that the delay slot emulation page will not be present for those targets
> > > with fpu emulation disabled (CONFIG_MIPS_FP_SUPPORT=n)
> > >
> > > Memory maps of busybox before and after this change
> > >
> > > root at OpenWrt:/# cat /proc/self/maps
> > > 00400000-00449000 r-xp 00000000 00:02 23 /bin/busybox
> > > 00458000-00459000 r-xp 00048000 00:02 23 /bin/busybox
> > > 00459000-0045a000 rwxp 00049000 00:02 23 /bin/busybox
> > > 77dc0000-77de2000 r-xp 00000000 00:02 273 /lib/libgcc_s.so.1
> > > 77de2000-77de3000 r-xp 00012000 00:02 273 /lib/libgcc_s.so.1
> > > 77de3000-77de4000 rwxp 00013000 00:02 273 /lib/libgcc_s.so.1
> > > 77de4000-77e7b000 r-xp 00000000 00:02 271 /lib/libc.so
> > > 77e8a000-77e8c000 rwxp 00096000 00:02 271 /lib/libc.so
> > > 77e8c000-77e8e000 rwxp 00000000 00:00 0
> > > 7fd86000-7fda7000 rw-p 00000000 00:00 0 [stack]
> > > 7fefd000-7fefe000 r-xp 00000000 00:00 0
> > > 7ffe6000-7ffe7000 r--p 00000000 00:00 0 [vvar]
> > > 7ffe7000-7ffe8000 r-xp 00000000 00:00 0 [vdso]
> > >
> > > root at OpenWrt:/# cat /proc/self/maps
> > > 00400000-00449000 r-xp 00000000 00:02 23 /bin/busybox
> > > 00458000-00459000 r-xp 00048000 00:02 23 /bin/busybox
> > > 00459000-0045a000 rwxp 00049000 00:02 23 /bin/busybox
> > > 77d55000-77d77000 r-xp 00000000 00:02 274 /lib/libgcc_s.so.1
> > > 77d77000-77d78000 r-xp 00012000 00:02 274 /lib/libgcc_s.so.1
> > > 77d78000-77d79000 rwxp 00013000 00:02 274 /lib/libgcc_s.so.1
> > > 77d79000-77e10000 r-xp 00000000 00:02 272 /lib/libc.so
> > > 77e1f000-77e21000 rwxp 00096000 00:02 272 /lib/libc.so
> > > 77e21000-77e23000 rwxp 00000000 00:00 0
> > > 7fe23000-7fe44000 rw-p 00000000 00:00 0 [stack]
> > > 7ff63000-7ff64000 r--p 00000000 00:00 0 [vvar]
> > > 7ff64000-7ff65000 r-xp 00000000 00:00 0 [vdso]
> > >
> > > Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
> >
> > Acked-by: Hauke Mehrtens <hauke at hauke-m.de>
> Acked-by: Rosen Penev <rosenp at gmail.com>
>
> I have the previous version of this patch (taken from ldir's tree) in
> my tree. Works great. Have not seen any problems.
> >
Applied to master branch. Thanks
Regards,
yousong
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list