You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
apm821xx treewide: Don't diverge from upstream default HZ settings on 4.19 4 years ago
ar71xx ar71xx: Fix gigabit switch support for Mikrotik RB951G-2HnD 4 years ago
arc770 treewide: remove maintainer variable from targets 4 years ago
archs38 archs38: switch to kernel 5.4 by default 4 years ago
armvirt kernel: move TEO governor to generic config 4 years ago
at91 treewide: remove maintainer variable from targets 4 years ago
ath25 treewide: remove maintainer variable from targets 4 years ago
ath79 kernel: bump 5.4 to 5.4.28 4 years ago
bcm27xx kernel: bump 5.4 to 5.4.28 4 years ago
bcm47xx treewide: remove maintainer variable from targets 4 years ago
bcm53xx bcm53xx: sysupgrade: optimize building UBI image 4 years ago
bcm63xx treewide: gather DEVICE_VARS into one place 4 years ago
cns3xxx treewide: remove maintainer variable from targets 4 years ago
gemini gemini: Bump kernel to v5.4 4 years ago
generic generic: mips: exclude more dsemul code when fpu-emu is not enabled 4 years ago
imx6 kernel: bump 5.4 to 5.4.28 4 years ago
ipq40xx ipq40xx: switch to 5.4 kernel 4 years ago
ipq806x kernel: bump 5.4 to 5.4.28 4 years ago
ipq807x treewide: remove maintainer variable from targets 4 years ago
kirkwood kirkwood: fix DTS partitions for Pogoplug E02 4 years ago
lantiq kernel: bump 5.4 to 5.4.28 4 years ago
layerscape treewide: remove maintainer variable from targets 4 years ago
malta malta: Remove kernel 4.14 support 4 years ago
mediatek mediatke: add support for elecom-wrc-2533gent 4 years ago
mpc85xx treewide: Don't diverge from upstream default HZ settings on 4.19 4 years ago
mvebu mvebu: cortexa9: correct cpu subtype 4 years ago
mxs kernel: bump 5.4 to 5.4.28 4 years ago
octeon treewide: remove maintainer variable from targets 4 years ago
octeontx kernel: bump 5.4 to 5.4.28 4 years ago
omap treewide: gather DEVICE_VARS into one place 4 years ago
oxnas kernel: bump 5.4 to 5.4.28 4 years ago
pistachio treewide: remove maintainer variable from targets 4 years ago
ramips ramips: Deactivate NETGEAR WNCE2001 by default 4 years ago
rb532 treewide: remove maintainer variable from targets 4 years ago
samsung treewide: remove maintainer variable from targets 4 years ago
sunxi kernel: bump 5.4 to 5.4.28 4 years ago
tegra tegra: correct cpu subtype 4 years ago
uml treewide: Remove self from MAINTAINER entries 5 years ago
x86 x86: fix missing squashfs and ext4 rootfs images 4 years ago
zynq zynq: switch to kernel 5.4 4 years ago
Makefile