diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2015-12-29 15:27:56 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2015-12-30 23:31:18 +0100 |
commit | cc42170ef6ca931c7527a86f14fc66059b6dfff4 (patch) | |
tree | c045a8adfc7ceff63279f2c9187ff4541f63dec1 /sysdeps/unix/sysv/linux/arm/localplt.data | |
parent | a82cd945b54958f2ee8d1503eee20fd521f1c236 (diff) | |
download | glibc-cc42170ef6ca931c7527a86f14fc66059b6dfff4.tar.gz glibc-cc42170ef6ca931c7527a86f14fc66059b6dfff4.tar.xz glibc-cc42170ef6ca931c7527a86f14fc66059b6dfff4.zip |
Cleanup ARM ioperm implementation (step 2)
Since GLIBC requires a minimum 2.6.32 kernel, the sysctl (CTL_BUS, CTL_BUS_ISA, ISA_*) is always available. We can therefore remove the fallback code reading /etc/arm_systype or parsing /proc/cpuinfo. Remove fscanf from localplt.data as it is no longer called from within GLIBC. * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>. (PATH_ARM_SYSTYPE): Remove. (PATH_CPUINFO): Likewise. (IO_BASE_FOOTBRIDGE): Likewise. (IO_SHIFT_FOOTBRIDGE): Likewise. (struct platform): Likewise. (init_iosys): Remove compatibility code for 2.4 kernels. * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/localplt.data')
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/localplt.data | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/localplt.data b/sysdeps/unix/sysv/linux/arm/localplt.data index 26e97ffec0..4301703553 100644 --- a/sysdeps/unix/sysv/linux/arm/localplt.data +++ b/sysdeps/unix/sysv/linux/arm/localplt.data @@ -1,6 +1,5 @@ libc.so: calloc libc.so: free -libc.so: fscanf libc.so: malloc libc.so: memalign libc.so: raise |