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]
Other format: [Raw text]

Re: [PATCH] PowerPC64 port part 4 of 7


Steven Munroe <sjmunroe@vnet.ibm.com> writes:

> PowerPC64 part 4 of 7 follows:
>
> 2002-07-29  Steven Munroe  <sjmunroe@us.ibm.com>
> 	Peter Bergner <bergner@us.ibm.com>  Alan Modra <amodra@bigpond.net.au>
> 	* elf/elf.h: Add powerpc64 specific symbols for elf.

This change is looks fine.

> 	* inet/in6_addr.c: Special handling of libc_hidden_def macro for PowerPC64.

But this needs further explanation - as mentioned previously.

[...]

> 2002-06-04  Steven Munroe  <sjmunroe@us.ibm.com>
> 	* elf/dl-load.c (open_verify): When ELF_MULT_MACHINES_SUPPORTED
> 	elf header class missmatch call elf_host_tolerates_class (ehdr) 
> 	and elf_host_tolerates_machine (ehdr). If tolerated return -2.
> 	* elf/dl-load.c (open_path): When ELF_MULT_MACHINES_SUPPORTED
> 	and open_verify returns -2 then skip this library and continue 
> 	search.
> 	* elf/dl-load.c (_dl_map_object): When ELF_MULT_MACHINES_SUPPORTED
> 	and and absolute library path case and open_verify returns -2 then
> 	skip _dl_map_object_from_fd and return NULL.
> 	* elf/rtld.c (dl_main): When ELF_MULT_MACHINES_SUPPORTED and 
> 	processing LD_PRELOAD or processing "/etc/ld.so.preload". If 
> 	_dl_map_object returns NULL then skip this library and continue 
> 	processing LD_PRELOAD.
> 	* sysdeps/powerpc/ppc32/dl-machine.h: Define 
> 	ELF_MULT_MACHINES_SUPPORTED and implement elf_host_tolerates_class
> 	and elf_host_tolerates_machine.
> 	* sysdeps/powerpc/ppc64/dl-machine.h: Define 
> 	ELF_MULT_MACHINES_SUPPORTED and implement elf_host_tolerates_class
> 	and elf_host_tolerates_machine.
> 	This allows LD_PRELOAD (and "/etc/ld.so.preload") to contain a
> 	mix of 32- and 64-bit libraries and tolerate (skip) libraries 
> 	of this architecture but a different wordsize.

Please explain all of these.

>
> 2002-06-04  Steven Munroe  <sjmunroe@us.ibm.com>
>
> 	* elf/cache.c: Add case for FLAG_POWERPC_LIB64.
> 	* sysdeps/generic/ldconfig.h: Add define for FLAG_POWERPC_LIB64.
> 	* sysdeps/unix/sysv/linux/powerpc/ldconfig.h: New file.
> 	* sysdeps/unix/sysv/linux/powerpc/readelflib.c: New file.
> 	* sysdeps/unix/sysv/linux/powerpc/ppc64/dl-cache.h: New file.
> 	Add support to ldconfig to recognise 32-bit and 64-bit libraries.
> 	Used s390 as a template.

Those look fine.

>
> 2002-02-20  Steven Munroe  <sjmunroe@us.ibm.com>
>
> 	* login/programs/utmpdump.c(print_entry): Copy up->ut_tv.tv_sec and 
> 	up->ut_tv.tv_usec before printing to be 32-/64-bit agnostic.

This one needs further explanation.

> [...]

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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