This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

PA-RISC diffs, part 2: hppa-specfic changes to generic files


This patch contains (I hope) uncontroversial changes to generic files.

2000-10-12  David Huggins-Daines <dhd@linuxcare.com>

        * configure.in: Add definitions for hppa.
	* elf/elf.h: Add PLABEL32 relocation for hppa ELF32, comments
          for IPLT and EPLT relocations.
        * shlib-versions: Version symbol definitions for hppa-linux
        * sysdeps/unix/sysv/linux/configure.in: Define $arch_minimum_kernel for hppa.

diff -urN --exclude=configure --exclude=.cvsignore --exclude=CVS --exclude=*.texi --exclude=texis --exclude=*.info* --exclude=*~ glibc-2.1.95/configure.in glibc/configure.in
--- glibc-2.1.95/configure.in	Tue Oct 10 17:43:35 2000
+++ glibc/configure.in	Tue Oct 10 17:10:32 2000
@@ -255,7 +255,8 @@
 arm*)		base_machine=arm machine=arm/$machine ;;
 c3[012])	base_machine=cx0 machine=cx0/c30 ;;
 c4[04])		base_machine=cx0 machine=cx0/c40 ;;
-hppa*)		base_machine=hppa machine=hppa/$machine ;;
+hppa*64*)	base_machine=hppa machine=hppa/hppa64 ;;
+hppa*)		base_machine=hppa machine=hppa/hppa1.1 ;;
 i[3456]86)	base_machine=i386 machine=i386/$machine ;;
 ia64)		base_machine=ia64 machine=ia64 ;;
 m680?0)		base_machine=m68k machine=m68k/$machine ;;
diff -urN --exclude=configure --exclude=.cvsignore --exclude=CVS --exclude=*.texi --exclude=texis --exclude=*.info* --exclude=*~ glibc-2.1.95/elf/elf.h glibc/elf/elf.h
--- glibc-2.1.95/elf/elf.h	Tue Oct 10 17:43:35 2000
+++ glibc/elf/elf.h	Tue Oct 10 17:10:32 2000
@@ -1520,6 +1520,7 @@
 #define R_PARISC_LTOFF_FPTR21L	58	/* LT-rel. fct ptr, left 21 bits. */
 #define R_PARISC_LTOFF_FPTR14R	62	/* LT-rel. fct ptr, right 14 bits. */
 #define R_PARISC_FPTR64		64	/* 64 bits function address.  */
+#define R_PARISC_PLABEL32	65	/* 32 bits function address.  */
 #define R_PARISC_PCREL64	72	/* 64 bits PC-rel. address.  */
 #define R_PARISC_PCREL22F	74	/* 22 bits PC-rel. address.  */
 #define R_PARISC_PCREL14WR	75	/* PC-rel. address, right 14 bits.  */
@@ -1560,8 +1561,8 @@
 #define R_PARISC_LTOFF_FPTR16DF	127	/* 16 bits LT-rel. function ptr.  */
 #define R_PARISC_LORESERVE	128
 #define R_PARISC_COPY		128	/* Copy relocation.  */
-#define R_PARISC_IPLT		129
-#define R_PARISC_EPLT		130
+#define R_PARISC_IPLT		129	/* Dynamic reloc, imported PLT */
+#define R_PARISC_EPLT		130	/* Dynamic reloc, exported PLT */
 #define R_PARISC_TPREL32	153	/* 32 bits TP-rel. address.  */
 #define R_PARISC_TPREL21L	154	/* TP-rel. address, left 21 bits.  */
 #define R_PARISC_TPREL14R	158	/* TP-rel. address, right 14 bits.  */
diff -urN --exclude=configure --exclude=.cvsignore --exclude=CVS --exclude=*.texi --exclude=texis --exclude=*.info* --exclude=*~ glibc-2.1.95/shlib-versions glibc/shlib-versions
--- glibc-2.1.95/shlib-versions	Mon Sep 25 11:23:06 2000
+++ glibc/shlib-versions	Tue Oct  3 18:35:47 2000
@@ -22,6 +22,7 @@
 mips.*-.*-linux.*	libm=6			GLIBC_2.0 GLIBC_2.2
 ia64-.*-linux.*		libm=6.1		GLIBC_2.2
 sh.*-.*-linux.*		libm=6			GLIBC_2.2
+hppa.*-.*-.*		libm=6			GLIBC_2.2
 .*-.*-linux.*		libm=6
 .*-.*-gnu-gnu.*		libm=6
 
@@ -32,6 +33,7 @@
 ia64-.*-linux.*		libc=6.1		GLIBC_2.2
 sh.*-.*-linux.*		libc=6			GLIBC_2.2
 sparc64-.*-linux.*	libc=6			GLIBC_2.2
+hppa.*-.*-.*		libc=6			GLIBC_2.2
 .*-.*-linux.*		libc=6
 
 # libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
@@ -56,6 +58,7 @@
 sh.*-.*-linux.*		ld=ld-linux.so.2	GLIBC_2.2
 ia64-.*-linux.*		ld=ld-linux-ia64.so.2	GLIBC_2.2
 mips.*-.*-linux.*	ld=ld.so.1		GLIBC_2.0 GLIBC_2.2
+hppa.*-.*-.*		ld=ld.so.1		GLIBC_2.2
 # We use the ELF ABI standard name for the default.
 .*-.*-.*		ld=ld.so.1
 
@@ -107,6 +110,7 @@
 ia64-.*-.*		libBrokenLocale=1	GLIBC_2.2
 sh.*-.*-.*		libBrokenLocale=1	GLIBC_2.2
 sparc64-.*-.*		libBrokenLocale=1	GLIBC_2.2
+hppa-.*-.*		libBrokenLocale=1	GLIBC_2.2
 .*-.*-.*		libBrokenLocale=1
 
 # The real-time library from POSIX.1b.
diff -urN --exclude=configure --exclude=.cvsignore --exclude=CVS --exclude=*.texi --exclude=texis --exclude=*.info* --exclude=*~ glibc-2.1.95/sysdeps/unix/sysv/linux/configure.in glibc/sysdeps/unix/sysv/linux/configure.in
--- glibc-2.1.95/sysdeps/unix/sysv/linux/configure.in	Wed Jun 21 14:11:06 2000
+++ glibc/sysdeps/unix/sysv/linux/configure.in	Tue Oct  3 13:11:02 2000
@@ -48,6 +48,9 @@
   ia64*)
     arch_minimum_kernel=2.4.0
     ;;
+  hppa*)
+    arch_minimum_kernel=2.3.99
+    ;;
   *)
     arch_minimum_kernel=2.0.10
     ;;

-- 
dhd@linuxcare.com, http://www.linuxcare.com/
Linuxcare. Support for the revolution.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]