Commit Graph

4349 Commits

Author SHA1 Message Date
Andreas Schwab
3f753e3ad5 m68k: use default minimum kernel version for m680x0 2012-05-14 17:31:44 +02:00
Joseph Myers
a7375c94a8 Remove pre-2.2 kernel support for MIPS. 2012-05-14 14:17:16 +00:00
Joseph Myers
c5754569dd Remove pre-2.2 Linux kernel support for ARM. 2012-05-14 14:16:40 +00:00
Mike Frysinger
b9564c38ea ia64: delete __ELF__ check in libm-symbols.h
We assume ELF everywhere now, so drop support for non-ELF.

Reported-by: Joseph S. Myers <joseph@codesourcery.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-14 01:04:32 -04:00
Joseph Myers
332d091eba Update sysdeps/mips/dl-lookup.c from generic version. 2012-05-11 20:47:51 +00:00
Andreas Schwab
8173ecfb05 m68k: update libm test ULPs 2012-05-10 17:41:32 +02:00
Andreas Schwab
6c1fa9ca3d Update Changelog.m68k 2012-05-10 17:41:01 +02:00
Carlos O'Donell
d3b36017d4 ARM: Use /lib/ld-linux-armhf.so.3 for the hard-float ABI.
The hard-float ABI will now use /lib/ld-linux-armhf.so.3.
We detect the use of the hard-float ABI and select the
appropriate dynamic linker name. You must have a new or
patched compiler which also uses the new dynamic loader
name when the hard-float ABI is selected.
2012-05-08 13:48:24 -04:00
Joseph Myers
567ce24cd1 Rearrange MIPS libm-test-ulps files. 2012-05-08 14:45:14 +00:00
Mike Frysinger
f5cf58f794 ia64: include errno.h in sysdep.h
This header uses __set_errno(), so make sure we include errno.h for it.
Otherwise, if INLINE_SYSCALL() is used and errno.h isn't included, we
hit warnings like so:
In file included from libc-start.c:36:0:
../sysdeps/unix/sysv/linux/dl-osinfo.h: In function '_dl_setup_stack_chk_guard':
../sysdeps/unix/sysv/linux/dl-osinfo.h:79:7: warning: implicit declaration of function '__set_errno'

Which culminate in errors like so:
libc-start.c:(.text+0x692): undefined reference to '__set_errno'
libc-start.c:(.text+0x752): undefined reference to '__set_errno'
collect2: ld returned 1 exit status

Reported-by: Dennis Schridde <devurandom@gmx.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-07 23:22:59 -04:00
Mike Frysinger
d2d3d79732 ia64: add matherr[fl] to libm.so plt whitelist
The ia64 math code has extra matherr functions (f and l variants),
so add them to the libm.so plt whitelist like the existing matherr
in the main code.

The check-localplt test now passes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06 18:27:33 -04:00
Mike Frysinger
e44af88e6a ia64: update abilist
For the most part, these are adding symbols from newer glibc releases that
should have been added to ia64 in the first place, but no one noticed.

There were also adding symbols from older versions, but that appears to be
an oversight in the old abilist files where the ia64 tuple wasn't added to
the symbol block.

A few symbols did get deleted, but that looks normal as no other arch has
them, and comparing to an old glibc-2.7 build, things have been this way
for quite a while.

After this, `make check-abi` now passes for ia6.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06 14:13:37 -04:00
Mike Frysinger
064b706950 ia64: restore abilist files
These are the abilists as ia64 had them before being removed from the
main tree.  Most libs pass, but a bunch need updating.  That'll be done
in a follow up commit.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-05-06 04:49:52 -04:00
Joseph Myers
360f4e6880 Restore MIPS n64 posix_fadvise64 export at GLIBC_2.3.3 (bug 14044). 2012-05-01 08:48:54 -07:00
Joseph Myers
d353499456 Restore ARM profil_counter export (bug 14043). 2012-05-01 07:22:52 -07:00
Andreas Schwab
cae2bdf1f3 m68k: add abilist files 2012-04-28 15:10:21 +02:00
Joseph Myers
8689e8776e Add abilist data for MIPS. 2012-04-28 04:29:32 -07:00
Joseph Myers
896216ffd1 Avoid endian.h include in MIPS64 string functions. 2012-04-28 03:41:29 -07:00
Joseph Myers
7a886e6fb1 Add abilist data for ARM. 2012-04-28 03:04:28 -07:00
Mike Frysinger
f0984e264e ia64: math: rename s_ilogbl.S to e_ilogbl.S
The main tree renamed these files as well as the symbols.
Update ia64 accordingly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:13:25 -04:00
Mike Frysinger
4625d0ae8d ia64: define __ASSUME_ACCEPT4
The latest kernels finally added accept4() to the ia64 kernel.
Define __ASSUME_ACCEPT4 accordingly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:13:25 -04:00
Mike Frysinger
4723e427b5 ia64: add new GET_ADDR_PARAM define
The main tree updated the dl-tls code to use a new GET_ADDR_PARAM macro.
We need to define that to fix a build error due to it missing.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:13:25 -04:00
Mike Frysinger
756b23ec1b ia64: split 16bit funcs out of byteswap.h and into byteswap-16.h
The main tree split the 16bit byteswap funcs out into a dedicated header.
Do the same for ia64.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:13:19 -04:00
Mike Frysinger
91e5f2e441 ia64: ucontext.h: drop __cplusplus
Building a lot of glibc files trigger warnings like so:
.../ucontext.h:52:25: warning: variably modified '_pad' at file scope

The ia64 header protects the use of __builtin_offsetof by a C++
compiler, but this builtin works just fine with C compilers, so
allow it to be used there too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:10:28 -04:00
Mike Frysinger
e43013840b ia64: pthread_attr_t type mangling
This applies the same updates that already exist in the main tree for
making the pthread_attr_t union more standards compliant.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:10:09 -04:00
Mike Frysinger
7e4fc5890e ia64: add MAP_{STACK,HUGETLB} to bits/mman.h
Just adding new bit flags that newer kernels define.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:09:53 -04:00
Mike Frysinger
413a8f40ec ia64: math: add __scalbn* aliases
All other ports have __scalbn* aliases pointing back to scalbn*, but
the ia64 code had omitted them.  This didn't really matter as none
of the common code called them, but after a recent update, that's no
longer true.  Add the aliases needed by some common code to fix link
errors with libm due to them missing.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:09:38 -04:00
Mike Frysinger
16aca1f771 ia64: drop __STDC__ handlings
The main tree dropped support for !__STDC__ code, so drop it from the
few places in the ia64 code too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:09:13 -04:00
Mike Frysinger
421ff1c38d ia64: math: stub out new e_rem_pio2l func
The ia64 math code stubs out the existing [er]_rem_*.c files, but the
main tree has added a new one since its removal.  Stub out that new
file too.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:08:38 -04:00
Mike Frysinger
293432b4af ia64: convert __const to const
The main tree decided to drop support for pre-ISO C code, so we
can use "const" instead of "__const".

Processed with a simple sed script:

find `find sysdeps/ -name ia64` -type f -exec sed -i \
	's:\<__const\>:const:' {} +

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-27 23:08:17 -04:00
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