diff options
author | Alan Modra <amodra@gmail.com> | 2014-07-01 18:10:25 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-07-01 20:26:11 +0930 |
commit | 2dc0e7b400e46f105960c0dfcd431013f0013c6a (patch) | |
tree | 62ab7b1bfd9a429dd75ee0c068d3454c67de520e /ld/ChangeLog | |
parent | 810d4e754dad3e5431399de7b5bacb831b899320 (diff) | |
download | gdb-2dc0e7b400e46f105960c0dfcd431013f0013c6a.zip gdb-2dc0e7b400e46f105960c0dfcd431013f0013c6a.tar.gz gdb-2dc0e7b400e46f105960c0dfcd431013f0013c6a.tar.bz2 |
Don't include sys/param.h
sys/param.h on recent versions of powerpc glibc ends up including
asm/elf.h via asm/sigcontex.h. asm/elf.h defines R_PPC_* and R_PPC64_*
macros, which clash with our include/elf/ppc.h and include/elf/ppc64.h.
It turns out that no current source uses LD_PATHMAX, so there is no
need for limits.h or sys/param.h, except for one occurrence of UINT_MAX.
I don't have a quarrel with limits.h, but it seems unnecessary just
for UINT_MAX.
* sysdep.h: Don't include limits.h and sys/param.h. Don't
include unistd.h twice.
(LD_PATHMAX): Don't define.
* ldlang.c (lang_common): Don't use UINT_MAX.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 70060a1..fd14305 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2014-07-01 Alan Modra <amodra@gmail.com> + + * sysdep.h: Don't include limits.h and sys/param.h. Don't + include unistd.h twice. + (LD_PATHMAX): Don't define. + * ldlang.c (lang_common): Don't use UINT_MAX. + 2014-07-01 Barney Stratford <barney_stratford@fastmail.fm> Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com> Pitchumani Sivanupandi <pitchumani.s@atmel.com> |