Commit Graph

4319 Commits

Author SHA1 Message Date
Mike Frysinger
60318997b8 ia64: convert "math{,_private}.h" to <math{,_private}.h>
The main tree decided to change all these includes to <...>, so update
the ia64 code accordingly.

Processed with a simple sed script:

find `find sysdeps/ -name ia64` -type f -exec sed -i \
	-r '/include/s:"(math.h|math_private.h)":<\1>:' {} +

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:07:56 -04:00
Mike Frysinger
6eeb0e8f7f ia64: convert <stdio-common/_itoa.h> to <_itoa.h>
The main tree relocated the _itoa.h header, so update our include
paths to match.

Processed with a simple sed script:

find `find sysdeps/ -name ia64` -type f -exec sed -i \
	'/<stdio-common._itoa.h>/s:<stdio-common/_itoa.h>:<_itoa.h>:' {} +

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:07:38 -04:00
Mike Frysinger
d928ab870e ia64: initfini.c -> crt{i,n}.S split
This was done mostly by looking at the processed crt{i,n}.S files in
glibc-2.15, and then added the required update for using in either
csu/ or nptl/.

Seems to work -- when an earlier version didn't call the initializers,
many tests (pthread related) failed.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:07:20 -04:00
Mike Frysinger
fd916d779b ia64: merge sysdeps/ia64/elf/ into sysdeps/ia64/
Moved the files, and then pasted the configure.in contents into the
parent file.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:07:00 -04:00
Mike Frysinger
15be91c2a0 ia64: add split-out settings into dedicated files
Logic specific to ia64 used to live in the main tree in common files.
Now that we can't do that (with #ifdef and such), we need to add that
logic into dedicated overriding files.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:06:32 -04:00
Mike Frysinger
5f870869a6 ia64: update include paths
We need to update the file paths after the ia64 code was moved from
the main tree to ports/.  In the case of backtrace.c, the main tree
actually copied the ia64 version to the x86_64 code, so we can go
ahead and drop the ia64 version.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:06:07 -04:00
Joseph Myers
4053d054cd Increase minimum MIPS kernel version to 2.6.12. 2012-04-27 20:52:33 +00:00
Matt Turner
ee6cb8adf2 alpha: Correct kernel version needed to define __ASSUME_ACCEPT4. 2012-04-27 07:36:27 -07:00
Matt Turner
99449c154f alpha: Use fopen "rce" in ioperm 2012-04-27 07:34:53 -07:00
Matt Turner
cdf73ff5b6 alpha: Update bits/mman.h. 2012-04-27 07:33:47 -07:00
Matt Turner
4ca39b2a40 alpha: Remove __STDC__ conditionals. 2012-04-27 07:33:47 -07:00
Matt Turner
24d6e175c2 alpha: Use const instead of __const. 2012-04-27 07:33:47 -07:00
Matt Turner
b44167c02a alpha: Define O_PATH. 2012-04-27 07:33:47 -07:00
Joseph Myers
d473fb8905 Remove unused sysdeps/unix/mips files. 2012-04-26 19:39:33 +00:00
Joseph Myers
8b2b11271e Avoid endian.h include in MIPS string functions. 2012-04-26 19:23:08 +00:00
Joseph Myers
8dc2363998 Use siginfo_t instead of struct siginfo for MIPS kernel_rt_sigframe. 2012-04-26 19:20:45 +00:00
Joseph Myers
95b28a6cc8 Remove unused sysdeps/arm files. 2012-04-26 18:17:08 +00:00
Siddhesh Poyarekar
3cad7dc5f0 m68k: move definition of libgcc_s soname to shlib-versions 2012-04-26 17:08:17 +02:00
Mike Frysinger
928501fb7b ia64: fix license text to "Lesser" not "Library"
Looks like these two files got the wrong boiler plate text.
Convert them over to the right one.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-25 23:40:54 -04:00
Joseph Myers
f2f7d65a86 Remove unused sysdeps/unix/mips/fork.S. 2012-04-24 23:05:20 +00:00
Joseph Myers
f959aa148c Remove unused sysdeps/unix/arm/fork.S. 2012-04-24 23:04:58 +00:00
Mike Frysinger
9f2b22d5fc mips: use $dir for path to ldd-rewrite.sed
The $dest variable is based on the top build dir but we need the ldd
rewrite variable to be based on the top source dir, so use $dir.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-24 00:05:32 -04:00
Mike Frysinger
75efb01851 ia64: update FSF license address to URL
Processed with a simple sed script:

find `find sysdeps/ -name ia64` -type f -exec sed -i \
	-e '/Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA/d' \
	-e 's:License along with the GNU C Library; if not, write to the Free:License along with the GNU C Library; if not, see:' \
	-e 's|02111-1307 USA.|<http://www.gnu.org/licenses/>.|' {} +

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-22 23:26:51 -04:00
Mike Frysinger
0347518d63 ia64: strip trailing whitespace
Many ia64 files have trailing whitespace which gets in the way and
annoys me.  So strip it away:

	find `find sysdeps/ -name ia64` -type f -exec sed -i 's:[[:space:]]*$::' {} +

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-22 15:11:02 -04:00
Mike Frysinger
d5efd131d4 ia64: move from main tree
This is a simple copy of the last version of ia64 in the main tree.
It does not work as-is, but serves as a basis for follow up changes
to restore it to working order.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-22 15:09:03 -04:00
Joseph Myers
8466459037 Remove ARM EABI/old-ABI conditionals. 2012-04-21 10:03:39 -07:00
Joseph Myers
1f60a18d81 Merge sysdeps/arm/eabi into sysdeps/arm. 2012-04-21 09:30:03 -07:00
Joseph Myers
25593dcaf4 Merge sysdeps/unix/sysv/linux/arm/eabi into sysdeps/unix/sysv/linux/arm. 2012-04-21 08:38:55 -07:00
Andreas Schwab
9002644d9f m68k: update libm test ULPs 2012-04-18 11:06:17 +02:00
Andreas Schwab
860d60c138 m68k: rename s_ilogb* to e_ilogb* 2012-04-17 23:59:10 +02:00
Andreas Jaeger
c325f0f226 Avoid warnings about redefinition
* sysdeps/unix/sysv/linux/arm/ldsodefs.h: Undefine
        MORE_ELF_HEADER_DATA to avoid warnings about redefinition.
2012-04-17 07:59:37 +02:00
Carlos O'Donell
cfdc17edd4 hppa: Build fixes for STT_GNU_IFUNC.
Stub out enough files to allow the hppa
port to build without STT_GNU_IFUNC.
2012-04-17 06:01:19 +02:00
Carlos O'Donell
dde6fc785a hppa: Remove relocation in OPD handling code.
A current bug in the hppa binutils code causes
relative relocations to be mixed with OPD relocations.

The OPD handling code in ld.so requires a relocation to
setup one of the data structures.

At startup ld.so tries to use the structure to handle
an OPD relocation *before* the structure is completely
setup by the relative relocation and this causes a crash.

This code is a workaround and a bandaid, the real fix
is in the static linker, but until then we must avoid
relocations in dl-fptr.c.

We copy dl-fptr.c from generic code, modify it, and
adjust the headers to fixup the structure at runtime
instead of having the relocation do this for us
automatically.
2012-04-17 05:46:34 +02:00
Carlos O'Donell
c053fa34cd hppa: Remove elf/ and create crti.S/crtn.S
This patch removes the elf/ directory, moving any
special configury down a directory e.g. TLS checks.

This patch also implements the required crti.S
and crtn.S files, verifying that they match the
current implementation.
2012-04-17 05:33:26 +02:00
Mike Frysinger
cde9262435 tile: update _itoa.h include path
Common code moved _itoa.h necessitating a change in the #include path.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-15 12:09:17 -04:00
Andreas Schwab
29dc68465c m68k: define MAP_STACK and MAP_HUGETLB 2012-03-29 00:22:33 +02:00
Joseph Myers
aa06d8e46a MIPS: Define MAP_STACK and MAP_HUGETLB. 2012-03-28 12:37:21 +00:00
Joseph Myers
268413928e ARM: Define MAP_STACK and MAP_HUGETLB. 2012-03-28 12:36:51 +00:00
Andreas Schwab
e9d9997a8f m68k: drop elf directory 2012-03-27 23:47:41 +02:00
Richard Henderson
c0c5945b52 Merge sysdeps/alpha/elf/ into sysdeps/alpha/. 2012-03-27 14:29:13 -07:00
Joseph Myers
04e3cfbc15 Merge sysdeps/mips/elf/ into sysdeps/mips/. 2012-03-27 21:10:20 +00:00
Joseph Myers
9ec5b2613f Merge sysdeps/arm/elf/ into sysdeps/arm/. 2012-03-27 21:04:59 +00:00
Andreas Schwab
0be6f6f707 m68k: update libm test ULPs 2012-03-23 16:34:03 +01:00
Andreas Schwab
2f6ba7629b m68k: avoid undue overflow in cexp 2012-03-23 16:33:37 +01:00
Andreas Schwab
3278063a82 m68k: prevent gcc from CSEing mathinline asms 2012-03-23 13:42:08 +01:00
Andreas Schwab
8b37c8a650 m68k: update libm test ULPs 2012-03-22 10:55:30 +01:00
Carlos O'Donell
2b6c81984b Update copyright year to 2012. 2012-03-22 00:12:30 -04:00
Carlos O'Donell
0e8a8f6d58 [PARISC] small atomic.h optimization
We do not negate the light-weight syscall return and instead
just check for the negative errno value allowing the compiler
to optimize as required.
2012-03-22 00:05:14 -04:00
Richard Henderson
925f8e84e6 alpha: Update _itoa.h include. 2012-03-21 08:18:55 -07:00
Andreas Schwab
57988d0ba7 m68k: update _itoa.h include 2012-03-21 00:38:10 +01:00