mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
3f823f488a
(1) Fix warnings. This is a bulk update to fix all the warnings that were causing build failures with -Werror on hppa. The most egregious problems are in dl-fptr.c which needs to be entirely rewritten, thus I've used -Wno-error for that. (2) Fix conformance errors. The sysdep.c file had __syscall_error and syscall in one file which caused conformance issues by including syscall when __syscall_error was linked to. The fix is obviously to split the file and use syscall.c to implement syscall.
14 lines
510 B
C
14 lines
510 B
C
#ifndef __ASSEMBLY__
|
|
extern void _start (void);
|
|
#endif
|
|
|
|
/* Lives in libgcc.so and canonicalizes function pointers for comparison. */
|
|
extern unsigned int __canonicalize_funcptr_for_compare (unsigned int fptr);
|
|
|
|
/* The function's entry point is stored in the first word of the
|
|
function descriptor (plabel) of _start(). */
|
|
#define ENTRY_POINT __canonicalize_funcptr_for_compare((unsigned int)_start)
|
|
|
|
/* We have to provide a special declaration. */
|
|
#define ENTRY_POINT_DECL(class) class void _start (void);
|