Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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