Skip to content
Snippets Groups Projects
  1. Jun 18, 1996
  2. Jun 17, 1996
    • Roland McGrath's avatar
      Mon Jun 17 17:53:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 2cc7dc4d
      Roland McGrath authored
      	* sysdeps/mach/hurd/brk.c (___brk_addr): Define as weak alias for
      	_hurd_brk.
      
      	* libio/stdio.h [__USE_SVID]: Declare tempnam.
      
      Fri Jun 14 19:28:33 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
      
      	* sysdeps/unix/sysv/linux/syscalls.list: Add swapon with two
      	parameters.
      
      Wed Jun 12 20:40:51 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
      
      	* sysdeps/m68k/dl-machine.h (RTLD_START): Fix access to
      	_dl_default_scope.
      
      	* sysdeps/stub/elfclass.h: New file.
      2cc7dc4d
  3. Jun 16, 1996
    • Roland McGrath's avatar
    • Roland McGrath's avatar
      * version.h (VERSION): Update to 1.91. · 4c904bd4
      Roland McGrath authored
      4c904bd4
    • Roland McGrath's avatar
      * hurd/hurdinit.c (map0): Remove [!PIC] conditional. · 26da047f
      Roland McGrath authored
      	* shlib-versions (*-*-*): Add libutil=1.
      
      	* rpm/Makefile (install-lib): Add libc.a et al.
      	(install-others): Only add libc.so if $(build-shared) is yes.
      
      	* math/Makefile (install-lib): New variable, list libieee.a.
      	(non-lib.a): Likewise.
      	(extra-objs): Likewise, and ieee-math.o.
      	($(objpfx)libieee.a): New target, link to ieee-math.o.
      	* math/ieee-math.c: New file.
      	* sysdeps/unix/sysv/linux/Makefile [$(subdir)=math]: Remove setfpucw
      	and libieee.a stuff.
      	* sysdeps/unix/sysv/linux/ieee-fpucw.c: File removed.
      	* sysdeps/unix/sysv/linux/i386/ieee_fpu.c: File removed.
    • Roland McGrath's avatar
      Sun Jun 16 03:22:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 3433189e
      Roland McGrath authored
      	* sysdeps/unix/sysv/Makefile (sysdep_headers): Make append of termio.h
      	and rule for it conditional on termio.h not already being in
      	sysdep_headers.
      
      	* rpm/Makefile (install-others) [libc.so-version]: Get libc.so from
      	$(libdir), only the versioned named from $(slibdir).
      	(instfiles): New variable.
      	(glibc-$(version).$(config).rpm): New target.  Run rpm -bb.
      	* rpm/rpmrc: New file.  A third of the options controlling rpm can
      	only be given here (another third is on the command line, and a third
      	cannot be specified in any way shape or form).
      3433189e
    • Roland McGrath's avatar
      Sun Jun 16 02:44:22 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 6a441471
      Roland McGrath authored
      	* rpm/template: New file.
      	* rpm/Makefile: New file.
      
      	* Makeconfig (sysdep-configures): Remove empty variable.
      
      	* Makerules (distinfo-vars): Write defns for $(install-lib.so) and
      	$(versioned).
      
      	* manual/Makefile (subdir_%): Add new rule with no deps, secondary to
      	to rule w/dep on %, with no-op commands.
      
      	* Makerules (subdir_distinfo): New phony target; depend on distinfo.
      	* Makefile (rpm/%): New rule.
      	(+subdir_targets): Add subdir_distinfo.
      
      	* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add
       	fpu_control.h here.
      6a441471
    • Roland McGrath's avatar
      Sun Jun 16 00:40:20 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · a3b58440
      Roland McGrath authored
      	* time/Makefile ($(installed-localtime-file)): If target exists, do
      	nothing but print a message; if not, make it an absolute symlink.
      
      	* time/tzset.c (__tzset): After stripping leading :, call
      	__tzfile_read on TZ even if it's empty or null.
      	* time/tzfile.c (__tzfile_read): Use "Universal" if passed "".
      a3b58440
    • Roland McGrath's avatar
      * hurd/Makefile (routines): Add get-host, set-host. · 5fbef188
      Roland McGrath authored
      	(distribute): Add hurdhost.h.
      	* hurd/hurdhost.h: New file.
      	* sysdeps/mach/hurd/gethostname.c: Use _hurd_get_host_config.
      	* sysdeps/mach/hurd/gethostid.c: Likewise.
      	* sysdeps/mach/hurd/sethostname.c: Use _hurd_set_host_config.
      	* sysdeps/mach/hurd/sethostid.c: Likewise.
      	* hurd/get-host.c: New file.
      	* hurd/set-host.c: New file.
      
      	* math/Makefile (headers): Add fpu_control.h.
      	(aux): New variable, list fpu_control and setfpucw.
      	* sysdeps/generic/fpu_control.c: New file.
      	* sysdeps/stub/fpu_control.h: New file.
      	* sysdeps/unix/sysv/linux/m68k/fpu_control.h: Moved to ...
      	* sysdeps/m68k/fpu_control.h: here.
      	* sysdeps/unix/sysv/linux/i386/fpu_control.h: Moved to ...
      	* sysdeps/i386/fpu_control.h: here.
      	* sysdeps/unix/sysv/linux/alpha/fpu_control.h: Moved to ...
      	* sysdeps/alpha/fpu/fpu_control.h: here.  Fixed copyright.
      	* sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Remove
      	setfpucw, fpu_control.
      	* sysdeps/unix/sysv/linux/alpha/fpu_control.c: File removed.
      	* sysdeps/unix/sysv/linux/setfpucw.c: Moved to ...
      	* sysdeps/generic/setfpucw.c: here.
      	(__fpu_control): Variable removed.
      	(__setfpucw): Use SET even if zero.
      5fbef188
    • Roland McGrath's avatar
      * elf/dl-deps.c (_dl_map_object_deps): Set MAP's mark bit before loop. · f9496a7b
      Roland McGrath authored
      	Set mark bits of deps as opened, instead of as scanned.
      
      	* elf/rtld.c (dl_main): Remove _dl_rtld_map from chain unconditionally.
      	Then if it has a nonzero l_opencount, add it back in search order.
      
      	* elf/dl-load.c (_dl_map_object): Don't use _dl_loaded's DT_RPATH if
       	it ain't got one!
      f9496a7b
    • Roland McGrath's avatar
      Sat Jun 15 18:13:43 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · a23db8e4
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/Dist: Add sys/klog.h.
      
      	* elf/dl-open.c (_dl_open): Remove PARENT argument, pass null.
      	* elf/link.h: Update prototype.
      	* elf/dl-load.c (_dl_map_object): If dependents' DT_RPATHs don't find
      	NAME, try the DT_RPATH of the executable itself if dynamic.
      	* elf/dlopen.c (dlopen): Don't pass first arg to _dl_open.
      
      	* elf/dl-load.c (_dl_map_object): Exit DT_RPATH checking loop when an
      	open succeeds.
      
      	* Makerules (build-shlib): Give -L opts for each elt of $(rpath-link).
      
      	* sysdeps/mach/hurd/Makefile (sysdep-LDFLAGS): Variable removed.
      	(rpath-link): Append to this instead.
      a23db8e4
  4. Jun 14, 1996
    • Roland McGrath's avatar
      Fri Jun 14 01:51:47 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · f332db02
      Roland McGrath authored
      	* version.c (banner): New static const variable, complete version
      	banner text.
      	(__libc_print_version): Use it, and use __write instead of printf.
      
      	* configure.in (sysnames): Don't cache the value, because it
       	depends only on libc sources.  Merge uniquifying third pass into
      	Implies/parent expansion second pass.  Report each unique name as
      	it is added in partial report string, terminated when finished.
      
      	* Makeconfig (sysdep_dir): Move defn before config.status rule that
      	expands it.
      	(sysdep-configures): Variable removed.
      	(config.status): Use its contents directly, tighten up a bit, and
      	include Implies files.
      
      	* elf/dl-open.c (_dl_open) [PIC]: Set PARENT to _dl_loaded if null.
      
      	* elf/Makefile ($(objpfx)$(rtld-installed-name)): Make a symlink.
      
      	* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_open_zero_fill):
      	Add comment.
      
      	* elf/rtld.c (dl_main): Close _dl_zerofd after mapping deps.
      
      	* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
      	weak alias for _mcount.
      	* sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
  5. Jun 13, 1996
    • Roland McGrath's avatar
      Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 9f70e81b
      Roland McGrath authored
      	* sysdeps/generic/machine-gmon.h [NO_UNDERSCORES]: Define mcount as
      	weak alias for _mcount.
      	* sysdeps/alpha/_mcount.S (mcount): Define as weak alias.
    • Miles Bader's avatar
      *** empty log message *** · 5c5ae36f
      Miles Bader authored
      Thu Jun 13 14:29:56 1996  Miles Bader  <miles@gnu.ai.mit.edu>
      
      	* hurd/hurdsig.c (_hurd_internal_post_signal): Rename `deliver:'
      	label to `deliver_pending:' to match goto.
      5c5ae36f
    • Miles Bader's avatar
    • Roland McGrath's avatar
      Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 8ab1a68d
      Roland McGrath authored
      	* elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is
      	null, consider it a strong reference and give the error.
    • Roland McGrath's avatar
      Thu Jun 13 00:02:25 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 4d6acc61
      Roland McGrath authored
      	* elf/dl-lookup.c (_dl_lookup_symbol): If no value and *REF is
      	null, consider it a strong reference and give the error.
      
      Wed Jun 12 15:52:46 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
      
      	* elf/dl-open.c (_dl_open): Correctly terminate relocating loop
       	after relocating NEW when it's the only new object.
      
      	* elf/dl-init.c (_dl_init_next): When out of initializers, set
       	_r_debug.r_state to RT_CONSISTENT and call _dl_debug_state just
       	before return.
      
      	* elf/rtld.c (dl_main): Move _dl_debug_initialize call after
       	relocation.  Call it unconditionally and only fill in DT_DEBUG
       	if it's present.  Then call _dl_debug_state with r_state RT_ADD
       	before running initializers.
      
      	* elf/dl-open.c (_dl_open): Call _dl_debug_initialize and then call
       	_dl_debug_state with r_state RT_ADD before running initializers
      	* elf/dl-close.c (_dl_close): Call _dl_debug_state with r_state
       	RT_DELETE before running finalizers and with RT_CONSISTENT just
       	before return.
      
      	* elf/Makefile (dl-routines): Add dl-debug.
      	* elf/dl-debug.c: New file.
      	* elf/rtld.c (_dl_r_debug): Rename to _r_debug and move to dl-debug.c.
      	(_dl_r_debug_state): Rename to _dl_debug_state and likewise move.
      	(dl_main): Use _dl_debug_initialize.
      	* elf/link.h: Fix name to _dl_debug_state in decl.
      	(_dl_debug_initialize): Declare new function from dl-debug.c.
      	(_r_debug): Declare it.
      
      	* Makerules (distinfo-vars): Add install-{lib,data,bin,sbin,others}.
      	In distinfo set $(subdir)-VAR and then set VAR to $($(subdir)-VAR).
      
      	* Makeconfig (rpath-link): New variable; add $(elfobjdir).
      	(default-rpath): Use it.
      	(built-program-cmd): Use it in LD_LIBRARY_PATH.
      
      	* Makeconfig (sysdep-configures): Prepend $(sysdep_dir) to names tried.
      
      	* sysdeps/unix/Dist: Add make-syscalls.sh.
      
      	* misc/Makefile (headers): Add sys/swap.h.
      	* posix/unistd.h: Remove decls for swapon, swapoff.
      	* sysdeps/generic/sys/swap.h: New file.
      	* sysdeps/unix/sysv/linux/sys/swap.h: New file.
      
      	* sysdeps/unix/sysv/linux/gnu/types.h: Remove temporary hack #define
      	of __kernel_fsid_t.  It is correctly defines in <linux/types.h> now.
      4d6acc61
  6. Jun 12, 1996
    • Roland McGrath's avatar
      * sysdeps/alpha/dl-machine.h: New file. · 4d5da9a6
      Roland McGrath authored
    • Roland McGrath's avatar
      Tue Jun 11 23:23:30 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 463e148b
      Roland McGrath authored
      	* Makerules (LDFLAGS-c.so): Use __libc_main instead of
      	__libc_print_version as entry point for shared object.
      	* version.c [HAVE_ELF] (__libc_main): New function.
      
      	* elf/dl-load.c (_dl_map_object_from_fd): Relocate l_entry with the
      	load address.
      463e148b
    • Roland McGrath's avatar
      Tue Jun 11 19:13:04 1996 Richard Henderson <rth@tamu.edu> · 8d6468d0
      Roland McGrath authored
      	* elf/dl-close.c: Include <string.h> for memcpy.
      	* elf/dl-lookup.c: Same.
      
      	* elf/elf.h: Add Elfxx_Symndx for symbol indices.
      	* elf/dl-lookup.c (_dl_lookup_symbol): Use it.
      	(_dl_setup_hash): Use it.
      	* elf/link.h (struct link_map): Use it.
      
      	* elf/rtld.c (_dl_start): Don't rely on pointer-to-first-arg hack
      	for getting the argc/argv/envp block.  Instead, make it the argument.
      	sysdeps/i386/dl-machine.h (RTLD_START): Do that.
      	sysdeps/m68k/dl-machine.h (RTLD_START): Same.
      
      	* shlib-versions: Add version numbers for alpha-linux.  To avoid
      	user confusion, make them the same as i386-linux.
      
      	* sysdeps/alpha/Makefile [subdir elf]: Add -mno-fp-regs to
      	sysdep-CFLAGS so that _dl_runtime_resolve doesn't have to save them.
      	Add -mbuild-constants to CFLAGS-rtld.c to that we can bootstrap
      	without using literal data.
      
      	* sysdeps/generic/dl-sysdep.c: Include <string.h> for memcpy.
      	Finish Elf32 -> ElfW migration.
      8d6468d0
    • Roland McGrath's avatar
      * Makerules (elfobjdir): Use $(objdir) if set, even in elf subdir. · 6e86a7c2
      Roland McGrath authored
      	* elf/Makefile (routines): Remove init-first.
      	* csu/Makefile (routines): New variable; put it here instead.
      
      	* config.make.in (CFLAGS): New variable.
      
      	* io/sys/stat.h (S_ISLNK, S_ISSOCK): Make conditional on __USE_BSD,
      	not __USE_GNU.
      	* string/string.h (strncasecmp): Likewise.
      6e86a7c2
  7. Jun 11, 1996
  8. Jun 10, 1996
    • Roland McGrath's avatar
      * Makerules ($(common-objpfx)libc.so): Depend on $(elfobjdir)/ld.so. · ba79d61b
      Roland McGrath authored
      	* elf/dl-close.c: New file.
      	* elf/link.h: Declare _dl_close.
      	* elf/Makefile (routines): Add dl-close.
      	* elf/dlclose.c (dlclose): Use _dl_close.
      
      	* elf/Makefile ($(objpfx)librtld.so): Remove libelf from deps.
      
      	* elf/dl-runtime.c (_dl_global_scope): New variable.
      	(_dl_object_relocation_scope): New function.
      	(fixup): Use it.
      	* elf/rtld.c (dl_main): Use it.
      	* elf/dl-open.c (_dl_open): Use it.  If (MODE & RTLD_GLOBAL), set the
      	l_global bit and append the new map to _dl_global_scope.
      	* elf/link.h: Declare _dl_global_scope, _dl_global_scope_alloc,
      	and _dl_object_relocation_scope.
      
      	* elf/link.h (struct link_map): Add l_loader member.
      	Remove _dl_map_object_from_fd decl.
      	* elf/dl-load.c (_dl_map_object): Pass LOADER to ...
      	(_dl_map_object_from_fd): Take new arg LOADER and set l_loader member.
      	(_dl_map_object): Try DT_RPATH from all loaders up the chain.
      
      	* elf/dl-object.c (_dl_loaded): Variable removed.
      	(_dl_default_scope): New variable replaces it.
      	* elf/link.h (_dl_loaded): Remove variable decl; instead define as
      	macro for _dl_default_scope[2].
      	(_dl_default_scope): Declare it.
      	* sysdeps/i386/dl-machine.h (RTLD_START): Use _dl_default_scope[2]
      	instead of _dl_loaded.
      	* sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
      	* elf/rtld.c (dl_main): Use _dl_default_scope for symbol lookups.
      
      	* elf/dl-reloc.c (_dl_relocate_object): Remove check for _dl_rtld_map.
      	* elf/rtld.c (dl_main): Pass 0 for LAZY flag when re-relocating self.
      
      	* elf/link.h (struct link_map.l_type): Remove lt_interpreter.
       	(struct link_map): Add new flag member l_global.
      
      	* elf/dl-reloc.c (_dl_relocate_object): Check for _dl_rtld_map
      	directly instead of looking for lt_interpreter.
      	* sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
      	* elf/rtld.c (_dl_start): Don't bother setting BOOTSTRAP_MAP.l_type.
      	(dl_main): Set _dl_rtld_map.l_type to lt_library.
      
      	* elf/dl-deps.c (_dl_map_object_deps): Propagate MAP->l_type to
      	dependencies loaded, downgrading lt_executable -> lt_library.
      
      	* elf/dl-load.c (_dl_map_object_from_fd): Take new arg TYPE and set
      	l_type from that, translating lt_library->lt_executable based on the
      	file's ELF type.
      	(_dl_map_object): Likewise.
      	* elf/link.h: Update prototypes.
      	* elf/dl-open.c: Pass type lt_loaded.
      	* elf/rtld.c: Pass type lt_library.
      
      	* elf/dl-load.c (_dl_map_object_from_fd): Handle null return from
      	_dl_new_object.
      	(_dl_map_object_from_fd: lose): Unchain and free L if it's not null.
      	Free REALNAME, and just use NAME in error message.
      	* elf/dl-object.c (_dl_new_object): If malloc fails, return null
      	instead of calling _dl_signal_error.
      
      	* elf/dl-load.c (_dl_map_object_from_fd): Close FD before signalling
      	error for _dl_zerofd setup failure.
      
      	* elf/dl-object.c (_dl_startup_loaded): Variable removed.
      	* elf/link.h: Remove its decl.
      
      	* elf/dl-reloc.c (_dl_relocate_object): Take new SCOPE arg and pass it
      	through to _dl_lookup_symbol.
      	* elf/link.h (_dl_relocate_object): Update comment and prototype.
      	* elf/rtld.c (dl_main): Pass scope vector to _dl_relocate_object.
      
      	* elf/dl-lookup.c (_dl_lookup_symbol): Arg SYMBOL_SCOPE is now a
      	null-terminated vector of pointers, no longer a vector of exactly two.
      	* elf/link.h (_dl_lookup_symbol): Update comment and prototype.
      
      	* elf/dl-runtime.c (fixup): Set up scope for symbol lookup properly as
      	done in _dl_relocate_object.
      
      	* elf/dlopen.c: Pass "" to _dl_open when FILE is null.
    • Roland McGrath's avatar
      * elf/link.h: Include elfclass.h to define __ELF_NATIVE_CLASS. · 567c63af
      Roland McGrath authored
      	(ElfW, ELFW): Use it.
      	* elf/Makefile (headers): Add elfclass.h.
      	* sysdeps/wordsize-32/elfclass.h: New file.
      	* sysdeps/wordsize-64/elfclass.h: New file.
      	* sysdeps/alpha/Implies: Add wordsize-64.
      	* sysdeps/i386/Implies: Add wordsize-32.
      	* sysdeps/m68k/Implies: Add wordsize-32.
      	* sysdeps/mips/Implies: Add wordsize-32.
      	* sysdeps/sparc/Implies: Add wordsize-32.
      567c63af
    • Roland McGrath's avatar
      Mon Jun 10 06:14:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 266180eb
      Roland McGrath authored
      	* sysdeps/mach/hurd/dl-sysdep.c (__open): Define this instead of open.
      	(__close, __mmap): Likewise define with __ names now.
      
      Mon Jun 10 05:13:18 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
      
      	* elf/dl-support.c: New file.
      	* elf/Makefile (CFLAGS-dl-support.c): New variable.
      	(routines, elide-routines.so): Add dl-support.
      
      	* elf/dl-minimal.c (_dl_pagesize): Remove common defn.
      	* elf/dl-load.c (_dl_pagesize): Define it here.
      	(_dl_map_object_from_fd): Initialize it if zero.
      	* elf/link.h (_dl_pagesize): Remove const.
      
      Sun Jun  9 04:04:26 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
      
      	* elf/Makefile (routines): Add dl-symbol.
      	* elf/dl-lookup.c (_dl_symbol_value): Moved to ...
      	* elf/dl-symbol.c: New file.
      
      	* elf/elf.h (Elf32_Xword, Elf32_Sxword): New types.
      	(Elf32_Section, Elf64_Section): New types, 16 bits.
      	(Elf32_Sym, Elf64_Sym): Use it.
      
      	* elf/dl-deps.c (_dl_open): Moved to ...
      	* elf/dl-open.c: New file.
      	* Makefile (routines): Add dl-open.
      
      	* elf/Makefile (dl-routines): New variable.
      	(routines): Add $(dl-routines).
      	(elide-routines.so): New variable, set to $(dl-routines).
      	(libdl-inhibit-o): Variable removed; build all flavors of -ldl.
      	(rtld-routines): All but rtld, dl-sysdep, and dl-minimal moved to
       	$(dl-routines).
      
      	* elf/dl-lookup.c (_dl_lookup_symbol): Remove magic symbol grokage.
      
      	* elf/dladdr.c: Use ELFW(ST_BIND) in place of ELF32_ST_BIND.
      
      	* elf/dl-load.c (open_path): Use __ names for open and close.  Avoid
      	using strdup.
      	(_dl_map_object): Likewise.
      	(_dl_map_object_from_fd): Use __ names for mmap, munmap, and mprotect.
      	* elf/dl-minimal.c (malloc): Likewise.
      	* elf/dl-reloc.c (_dl_relocate_object): Likewise.
      
      	* elf/dl-minimal.c (_dl_pagesize): New variable.
      	(malloc): Use that instead of a static variable.
      	* elf/dl-reloc.c (_dl_relocate_object): Use _dl_pagesize instead of
      	calling getpagesize.
      	* elf/dl-load.c (_dl_map_object_from_fd): Likewise.
      	* elf/link.h: Declare _dl_pagesize.
      
      	* elf/rtld.c (dl_r_debug): Renamed to _dl_r_debug.
      
      	* elf/link.h (struct link_map): Use Half for l_phnum instead of Word.
        	* elf/rtld.c (dl_main): Use Half for phdr count arg.
      	(_dl_sysdep_start): Update prototype of DL_MAIN function ptr arg.
      
      	* elf/dl-load.c (_dl_map_object_from_fd): Use explicit Elf32_Word to
       	extract 4-byte magic number, not ElfW(Word).  Match EI_CLASS against
       	native wordsize, either 32 or 64.
      
      	* elf/elf.h (Elf64_Byte, Elf64_Section): Typedefs removed.  In C a
       	char is always a byte, no need for a typedef.  Section indices are
      	16-bit quantities in elf64, which already have a typedef Elf64_Half.
      
      	Remove partial -lelf implementation.  There is now a
      	separately-distributed `libelf' package that implements it.
      	* elf/dl-lookup.c: Don't #include <libelf.h> any more.
      	(_dl_elf_hash): New function, moved from
      	libelf.h:elf_hash.
      	(_dl_lookup_symbol): Use it instead of elf_hash.
      	* elf/libelf.h: File removed.
      	* elf/elf_hash.c: File removed.
      	* elf/Makefile (headers): Remove libelf.h.
      	(extra-libs): Remove libelf.
      	(libelf-routines): Variable removed.
      
      	* elf/Makefile (libdl.so): Remove commands from this target.  The
       	implicit rule commands are correct, this explicit rule just serves to
       	add some dependencies.
      
      	* elf/dl-lookup.c (_dl_lookup_symbol): Use ELFW(ST_TYPE) in place of
       	ELF32_ST_TYPE.  Likewise ST_BIND.
      	* elf/do-rel.h (elf_dynamic_do_rel): Likewise R_SYM.
      
      	* elf/link.h (ElfW): New macro for wordsize-independent ElfXX_* type
      	naming.
      	(ELFW): New macro, likewise for ELFXX_* macro naming.
      	(_ElfW, _ElfW_1): New macros, subroutines of ElfW and ELF.
      
      Sat Jun  8 20:52:38 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
      
      	* elf/link.h, elf/do-rel.h, elf/dynamic-link.h, elf/dl-deps.c,
       	elf/dl-init.c, elf/dl-load.c, elf/dl-lookup.c, elf/dl-reloc.c,
       	elf/dl-runtime.c, elf/dladdr.c, elf/dlclose.c, elf/dlsym.c,
       	elf/linux-compat.c, elf/rtld.c: Change all uses of `Elf32_XXX' to
       	`ElfW(XXX)' for wordsize-independence.
      
      Sat Jun  8 20:50:42 1996  Richard Henderson  <rth@tamu.edu>
      
      	* elf/elf.h: Move Elf64_* types in parity with Elf32 counterparts.
      	(Elf64_auxv_t): New type.
      	(EM_ALPHA, R_ALPHA_*): New macros for elf64-alpha format.
      266180eb
    • Roland McGrath's avatar
      Mon Jun 10 02:22:24 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · 564210fe
      Roland McGrath authored
      	* sysdeps/unix/sysv/linux/configure.in: New file, start with configure.
      	Add check for installed <linux/version.h> being v2.0 or later.
      
      	* sysdeps/generic/dl-sysdep.c (_dl_sysdep_open_zero_fill): Call __open
      	instead of open.
      	(_dl_sysdep_fatal): Call __write instead of write.
      	(_dl_sysdep_message): Likewise.
      
      Sun Jun  9 20:40:00 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
      
      	* sysdeps/m68k/fpu/e_acosl.c: New file.
      
      	* Makerules (o-objects): New variable.  Use it in place of
      	$(objects:.o=$o); it filters out $(elide-routines$o).
      	Use o-iterator for ar and ranlib rules so they use the per-type object
      	list.
      
      	* sysdeps/unix/bsd/ultrix4/sys/mman.h: Likewise.
      564210fe
  9. Jun 09, 1996
    • Roland McGrath's avatar
      * elf/dl-load.c (_dl_map_object_from_fd): Close FD before return. · 6d9756c9
      Roland McGrath authored
      	* sysdeps/mach/mprotect.c: Define with __ name and weak alias.
      	* sysdeps/stub/mprotect.c: Likewise.
      	* sysdeps/unix/mman/syscalls.list (mprotect): Likewise.
      	* sysdeps/generic/sys/mman.h: Declare __mprotect.
      	* sysdeps/unix/sysv/irix4/sys/mman.h: Likewise.
      	* sysdeps/unix/sysv/linux/sys/mman.h: Likewise.
      	* sysdeps/unix/bsd/sun/sunos4/sys/mman.h: Likewise.
      	* sysdeps/unix/bsd/osf/sys/mman.h: Likewise.
    • Roland McGrath's avatar
      * Make-dist ($(tardir).tar): Use sed to check for file names longer · 9dd2fc5d
      Roland McGrath authored
      	than 14 chars, instead of doschk which checks for other things we
      	don't care about.
      3 tags
      9dd2fc5d
    • Roland McGrath's avatar
      * Version 1.90 test release. · 780b91d9
      Roland McGrath authored
      780b91d9
    • Roland McGrath's avatar
      Sun Jun 9 01:11:49 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> · dcfb26a7
      Roland McGrath authored
      	* Makerules (make-target-directory): Use ./mkinstalldirs so we do not
      	assume . is in PATH.
      
      Sat Jun  8 22:05:03 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
      
      	* math/Makefile (distribute): Comment out addition of
      	$(long-m-routines) sources until they are all written.
      
      	* math/Makefile (distribute): Append long double source names to this
      	instead of using elided-routines.
      
      Sat Jun  8 15:15:07 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
      
      	* mach/mach_shortcuts.c: Obsolete file removed.
      	* mach/mach_syscalls.h: Likewise.
      
      	* hurd/Makefile (distribute): Consolidate defns into one.
      
      	* time/Makefile (tzfiles): Add solar87 solar88 solar89.
      dcfb26a7
  10. Jun 08, 1996
Loading