diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-06-07 10:53:49 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2017-06-07 11:11:38 +0530 |
commit | 6482e63403a3d13bf42f5029407b6151ad9f4ca5 (patch) | |
tree | c8b754b3da87c5fd9219d495f44635e161bbb0d1 /ChangeLog | |
parent | ea9b0ecbf0e7b6e8281047624efbe1b2cbb6d487 (diff) | |
download | glibc-6482e63403a3d13bf42f5029407b6151ad9f4ca5.tar.gz glibc-6482e63403a3d13bf42f5029407b6151ad9f4ca5.tar.xz glibc-6482e63403a3d13bf42f5029407b6151ad9f4ca5.zip |
Add include guards to dl-procinfo.h
The dl-procinfo.h for linux/s390 and linux/i386 don't have include guards, which causes them to fail since addition of LD_HWCAP_MASK to tunables. Add _DL_I386_PROCINFO_H guard to avoid redefining _dl_procinfo on multiple includes and also allow the subsequent include of another dl-procinfo.h to work. Verified with a build test on i686. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include guard. * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 7a42c78932..26393d59e8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2017-06-07 Siddhesh Poyarekar <siddhesh@sourceware.org> + * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include + guard. + * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise. + * elf/dl-tunables.list: Add glibc.tune.hwcap_mask. * scripts/gen-tunables.awk: Include dl-procinfo.h. * manual/tunables.texi: Document glibc.tune.hwcap_mask. |