openwrt/target/linux
Yousong Zhou 437eb41f23 generic: mips: exclude more dsemul code when fpu-emu is not enabled
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@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@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]

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-30 11:28:11 +08:00
..
apm821xx treewide: Don't diverge from upstream default HZ settings on 4.19 2020-03-29 17:27:54 +01:00
ar71xx ar71xx: Fix gigabit switch support for Mikrotik RB951G-2HnD 2020-03-28 13:03:02 +01:00
arc770 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
archs38 archs38: switch to kernel 5.4 by default 2020-03-29 16:23:57 +02:00
armvirt kernel: move TEO governor to generic config 2020-03-17 00:51:48 +01:00
at91 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath25 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ath79 kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
bcm27xx kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
bcm47xx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
bcm53xx bcm53xx: sysupgrade: optimize building UBI image 2020-03-21 22:31:35 +01:00
bcm63xx treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
cns3xxx treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
gemini gemini: Bump kernel to v5.4 2020-03-21 18:17:04 +01:00
generic generic: mips: exclude more dsemul code when fpu-emu is not enabled 2020-03-30 11:28:11 +08:00
imx6 kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
ipq40xx ipq40xx: switch to 5.4 kernel 2020-03-28 13:03:02 +01:00
ipq806x kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
ipq807x treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
kirkwood kirkwood: fix DTS partitions for Pogoplug E02 2020-03-27 17:12:46 +01:00
lantiq kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
layerscape treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
malta malta: Remove kernel 4.14 support 2020-03-12 09:28:23 +01:00
mediatek mediatke: add support for elecom-wrc-2533gent 2020-03-27 16:18:57 +01:00
mpc85xx treewide: Don't diverge from upstream default HZ settings on 4.19 2020-03-29 17:27:54 +01:00
mvebu mvebu: cortexa9: correct cpu subtype 2020-03-28 22:58:36 +01:00
mxs kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
octeon treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
octeontx kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
omap treewide: gather DEVICE_VARS into one place 2020-03-21 19:55:12 +01:00
oxnas kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
pistachio treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
ramips ramips: Deactivate NETGEAR WNCE2001 by default 2020-03-29 22:36:05 +02:00
rb532 treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
samsung treewide: remove maintainer variable from targets 2020-03-16 22:21:45 +01:00
sunxi kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
tegra tegra: correct cpu subtype 2020-03-28 22:58:36 +01:00
uml treewide: Remove self from MAINTAINER entries 2019-12-23 13:18:04 -08:00
x86 x86: fix missing squashfs and ext4 rootfs images 2020-03-28 13:20:05 +01:00
zynq zynq: switch to kernel 5.4 2020-03-17 00:51:48 +01:00
Makefile