Age | Commit message (Collapse) | Author | |
---|---|---|---|
1995-06-08 | (struct execdata.info.elf): Add members `anywhere' and `loadbase'. | Roland McGrath | |
(load_section): Use them; if `anywhere' set, load the section anywhere. Record load address in `loadbase'. (check_elf): Initialize `anywhere' and `loadbase'. (postload): Merged into load. (load): Perform postload functionality here, after calling finish_mapping. (finish): Take new flag arg; deallocate file port only if set. (do_exec): Pass flag to finish appropriately. Don't call finish_mapping and postload after load. KLUDGE: Load the interpreter before the program instead of after. | |||
1995-06-05 | Majorly revamped: Now supports the ELF format directly. | Roland McGrath | |
Secondarily uses the BFD library #ifdef BFD. Supports gunzipping only #ifdef GZIP. | |||
1995-05-12 | Add fsys_set_options, replacing fsys_mod_readonly. | Miles Bader | |
1995-04-21 | (check_gzip): Rewind the stream before calling `get_method'. | Roland McGrath | |
Open a new BFD on the uncompressed data stream before return. | |||
1995-04-10 | (struct execdata) [BFD]: New member `interp_section'. | Roland McGrath | |
(check_section): Notice section named ".interp" and set that pointer. (load_section): Do nothing if the section is zero size. When reading into our copy of the overlap page, don't read past the end of the section. (do_exec): Consolidate new subfunction `check_maybe_gzip'. If there is an interpreter section, load the interpreter file too, and use its entry point instead of the user program's. Cleaned up and made more robust deallocation of BOOT info on error. (deadboot): New function, split out of do_mach_port_notify_no_senders. | |||
1995-04-09 | (vpath lib%.a): Move this after include ../Makeconf, since it uses a | Roland McGrath | |
variable set there. | |||
1995-04-09 | (vpath lib%.a): Add search path. | Roland McGrath | |
(exec): Depend on -lbfd and -liberty. (CPPFLAGS): Append -DBFD; omit -DA_OUT_H=... (bfdexec): Target removed. | |||
1995-04-09 | (load_section): fseek to desired position before freading. | Roland McGrath | |
(input_room): Always map a page-aligned region. | |||
1995-02-09 | (check_section): Don't check SEC_RELOC flag. | Roland McGrath | |
1995-02-09 | (load_section): Don't check SEC_HAS_CONTENTS for clearing overlap bss | Michael I. Bushnell | |
pages. | |||
1995-01-28 | (prepare): Fix braino in last change. | Roland McGrath | |
1995-01-28 | (prepare): Give the stream a seek function. | Roland McGrath | |
1995-01-22 | [BFD]: Fix prototype. | Roland McGrath | |
1995-01-22 | Update BFD code; it works now. | Roland McGrath | |
1995-01-19 | Add case for CPU_TYPE_ALPHA. | Roland McGrath | |
1995-01-19 | (bfd_mach_host_arch_mach, aout_mach_host_machine): Use | Roland McGrath | |
mach_msg_type_number_t instead of unsigned int. Cast &HOSTINFO to (natural_t *). | |||
1995-01-15 | [BFD] (bfd_mach_host_arch_mach): In decl, MACHINE arg is `long int *' now. | Roland McGrath | |
[BFD] (host_bfd_arch_info): New variable. [BFD] (host_bfd): Initialize `arch_info' member to its address. (check) [BFD]: Use bfd_arch_get_compatible properly, rather than the nonexistent bfd_arch_compatible. (main) [BFD]: Fill in host_bfd.arch_info instead of old `obj_machine' and `obj_archiecture' members, which BFD no longer has. | |||
1995-01-15 | [BFD] (bfd_mach_host_arch_mach): MACHINE arg is `long int *' now. | Roland McGrath | |
1994-12-14 | Initial revision | Roland McGrath | |
1994-12-14 | (OBJS): Add unzip.o util.o inflate.o. | Roland McGrath | |
(LCLHDRS): Add gzip.h crypt.h tailor.h. (unzip.o util.o inflate.o): Depend on those. (CFLAGS): Use +=. | |||
1994-12-12 | (struct execdata): New members `headbuf', `file_data', `optimal_block'. | Roland McGrath | |
(load_section): Copy data from U->file_data if that is nonnull. Use new subfunction `write_to_task' that handles non-page aligned sections. (input_room): Fix EOF check. Use io_read if no memory object. (prepare): New function, broken out of check. Initialize E->file_data and E->optimal_block. Set E->stream.__seen bit. (check): No longer take FILE arg. Use E->file_data if nonnull; else read from stream if no memory object. (finish_mapping): Reset members after deallocating resources. (finish): Likewise. Call fclose. Don't deallocate E->header if it points to &E->headbuf or E->file_data. (check_gzip): New function, implements executing gzip'd binaries. (do_exec): Call prepare before check. Call check_gzip if file format unrecognized. | |||
1994-11-09 | (set_active_trans): Don't deallocate EXECNODE here to work around a | Michael I. Bushnell | |
ufs bug. | |||
1994-11-09 | Include <hurd/paths.h> and <fcntl.h>. | Michael I. Bushnell | |
(set_active_trans): Declare as void. | |||
1994-11-09 | (set_active_trans): New function. | Michael I. Bushnell | |
(S_exec_init): Call set_active_trans. | |||
1994-08-31 | entered into RCS | Michael I. Bushnell | |
1994-08-31 | Formerly exec.c.~84~ | Roland McGrath | |
1994-08-30 | Formerly exec.c.~83~ | Michael I. Bushnell | |
1994-08-29 | Formerly exec.c.~82~ | Michael I. Bushnell | |
1994-08-17 | Formerly exec.c.~81~ | Michael I. Bushnell | |
1994-08-16 | Formerly exec.c.~80~ | Michael I. Bushnell | |
1994-08-16 | Formerly exec.c.~79~ | Roland McGrath | |
1994-08-15 | Formerly exec.c.~78~ | Michael I. Bushnell | |
1994-07-22 | Formerly exec.c.~77~ | Michael I. Bushnell | |
1994-07-22 | entered into RCS | Michael I. Bushnell | |
1994-07-20 | Formerly exec.c.~76~ | Michael I. Bushnell | |
1994-07-20 | Formerly Makefile.~29~ | Roland McGrath | |
1994-07-19 | Formerly exec.c.~75~ | Michael I. Bushnell | |
1994-07-19 | Formerly Makefile.~28~ | Michael I. Bushnell | |
1994-07-05 | Formerly Makefile.~27~ | Michael I. Bushnell | |
1994-06-24 | Initial revision | Michael I. Bushnell | |
1994-05-31 | Formerly Makefile.~26~ | Roland McGrath | |
1994-05-11 | Formerly Makefile.~25~ | Michael I. Bushnell | |
1994-05-05 | Formerly Makefile.~24~ | Roland McGrath | |
1994-05-02 | Formerly Makefile.~23~ | Michael I. Bushnell | |
1994-04-07 | Formerly Makefile.~22~ | Michael I. Bushnell | |
1994-04-07 | Formerly Makefile.~21~ | Michael I. Bushnell | |
1994-03-29 | Initial revision | Michael I. Bushnell | |
1993-11-23 | entered into RCS | Michael I. Bushnell | |
1993-11-18 | Formerly hostarch.c.~3~ | Michael I. Bushnell | |
1993-10-21 | Formerly hostarch.c.~2~ | Michael I. Bushnell | |