[PATCH]: Re: next surprise
H . J . Lu
hjl@lucon.org
Sun Apr 2 15:43:00 GMT 2000
On Sat, Apr 01, 2000 at 03:33:31PM -0700, Ulrich Drepper wrote:
> The next thing in the standard draft which causes problems is that the
> getnetbyaddr function takes an uint32_t value for the first parameter.
> We currently use unsigned long (why?). This is not much of a problem
> but we are also using unsigned long in the struct netent definition.
>
> I've committed some changes to remove this difference from the
> standard. On 32 bit platforms we should have no problems. On 64 bit
> platforms the struct netent definition should be changed. I've
> currently only created a Linux/Alpha version as I don't think breaking
> the other 64 bit APIs is a problem (SPARC64, MIPS64, IA-64).
>
> IA-64 people: note that this is an incmopatible change if you are
> using a glibc 2.1 based version. There will be more of these changes
> and I've warned everybody in advance.
>
IA-64 should be ok since we expect ABI will be changed in 2.2 and
we use libc.so.0, libm.so.0 and ld-linux-is64.so.1. Everyone is warned
about it. However, I'd like reserve a bit in ld.so cache for ia64.
Here is the patch.
H.J.
----
2000-04-02 H.J. Lu <hjl@gnu.org>
* elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
Index: elf/ldconfig.h
===================================================================
RCS file: /cvs/glibc/libc/elf/ldconfig.h,v
retrieving revision 1.1
diff -u -p -r1.1 ldconfig.h
--- ldconfig.h 1999/12/04 07:57:55 1.1
+++ ldconfig.h 2000/04/02 22:39:08
@@ -28,6 +28,7 @@
#define FLAG_ELF_LIBC6 0x0003
#define FLAG_REQUIRED_MASK 0xff00
#define FLAG_SPARC_LIB64 0x0100
+#define FLAG_IA64_LIB64 0x0200
/* Declared in cache.c. */
extern void print_cache (const char *cache_name);
More information about the Libc-hacker
mailing list