2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/sys/types.h (u64): New typedef to allow building
        on linux systems with glibc 2.3.3 installed.
        * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
        profile_fixup so newlib can build on fc3 system.
			
			
This commit is contained in:
		| @@ -1,3 +1,10 @@ | |||||||
|  | 2004-08-12  Jeff Johnston  <jjohnstn@redhat.com> | ||||||
|  |  | ||||||
|  | 	* libc/sys/linux/sys/types.h (u64): New typedef to allow building | ||||||
|  | 	on linux systems with glibc 2.3.3 installed. | ||||||
|  | 	* libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and | ||||||
|  | 	profile_fixup so newlib can build on fc3 system. | ||||||
|  |   | ||||||
| 2004-07-30  Alexandre Oliva  <aoliva@redhat.com> | 2004-07-30  Alexandre Oliva  <aoliva@redhat.com> | ||||||
|  |  | ||||||
| 	Introduce SH2a support. | 	Introduce SH2a support. | ||||||
|   | |||||||
| @@ -23,7 +23,9 @@ | |||||||
| #include <ldsodefs.h> | #include <ldsodefs.h> | ||||||
| #include "dynamic-link.h" | #include "dynamic-link.h" | ||||||
|  |  | ||||||
|  | #ifndef __attribute_used__ | ||||||
| #define __attribute_used__ | #define __attribute_used__ | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #if !defined ELF_MACHINE_NO_RELA || ELF_MACHINE_NO_REL | #if !defined ELF_MACHINE_NO_RELA || ELF_MACHINE_NO_REL | ||||||
| # define PLTREL  ElfW(Rela) | # define PLTREL  ElfW(Rela) | ||||||
| @@ -44,7 +46,7 @@ | |||||||
|    function.  */ |    function.  */ | ||||||
|  |  | ||||||
| #ifndef ELF_MACHINE_NO_PLT | #ifndef ELF_MACHINE_NO_PLT | ||||||
| static ElfW(Addr) __attribute_used__ | static ElfW(Addr) __attribute__ ((regparm (2), unused)) | ||||||
| fixup ( | fixup ( | ||||||
| # ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS | # ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS | ||||||
|         ELF_MACHINE_RUNTIME_FIXUP_ARGS, |         ELF_MACHINE_RUNTIME_FIXUP_ARGS, | ||||||
| @@ -128,7 +130,7 @@ fixup ( | |||||||
|  |  | ||||||
| #if !defined PROF && !defined ELF_MACHINE_NO_PLT && !__BOUNDED_POINTERS__ | #if !defined PROF && !defined ELF_MACHINE_NO_PLT && !__BOUNDED_POINTERS__ | ||||||
|  |  | ||||||
| static ElfW(Addr) __attribute_used__ | static ElfW(Addr) __attribute__ ((regparm (3), unused)) | ||||||
| profile_fixup ( | profile_fixup ( | ||||||
| #ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS | #ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS | ||||||
|        ELF_MACHINE_RUNTIME_FIXUP_ARGS, |        ELF_MACHINE_RUNTIME_FIXUP_ARGS, | ||||||
|   | |||||||
| @@ -190,6 +190,8 @@ typedef __uint64_t              uint64_t; | |||||||
| #define _UINT64_T_DECLARED | #define _UINT64_T_DECLARED | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
|  | typedef __uint64_t		u64; | ||||||
|  |  | ||||||
| #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) | #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) | ||||||
| typedef	struct _physadr { | typedef	struct _physadr { | ||||||
| 	int	r[1]; | 	int	r[1]; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user