aboutsummaryrefslogtreecommitdiff
path: root/exec
Commit message (Collapse)AuthorAgeFilesLines
* (check_gzip): Rewind the stream before calling `get_method'.Roland McGrath1995-04-211-1/+3
| | | | Open a new BFD on the uncompressed data stream before return.
* (struct execdata) [BFD]: New member `interp_section'.Roland McGrath1995-04-101-69/+186
| | | | | | | | | | | | (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.
* (vpath lib%.a): Move this after include ../Makeconf, since it uses aRoland McGrath1995-04-091-1/+2
| | | | variable set there.
* (vpath lib%.a): Add search path.Roland McGrath1995-04-091-6/+8
| | | | | | (exec): Depend on -lbfd and -liberty. (CPPFLAGS): Append -DBFD; omit -DA_OUT_H=... (bfdexec): Target removed.
* (load_section): fseek to desired position before freading.Roland McGrath1995-04-091-2/+12
| | | | (input_room): Always map a page-aligned region.
* (check_section): Don't check SEC_RELOC flag.Roland McGrath1995-02-091-8/+2
|
* (load_section): Don't check SEC_HAS_CONTENTS for clearing overlap bssMichael I. Bushnell1995-02-091-5/+1
| | | | pages.
* (prepare): Fix braino in last change.Roland McGrath1995-01-281-1/+1
|
* (prepare): Give the stream a seek function.Roland McGrath1995-01-281-0/+2
|
* [BFD]: Fix prototype.Roland McGrath1995-01-221-1/+1
|
* Update BFD code; it works now.Roland McGrath1995-01-221-29/+40
|
* Add case for CPU_TYPE_ALPHA.Roland McGrath1995-01-191-0/+13
|
* (bfd_mach_host_arch_mach, aout_mach_host_machine): UseRoland McGrath1995-01-191-2/+3
| | | | | mach_msg_type_number_t instead of unsigned int. Cast &HOSTINFO to (natural_t *).
* [BFD] (bfd_mach_host_arch_mach): In decl, MACHINE arg is `long int *' now.Roland McGrath1995-01-151-8/+11
| | | | | | | | | [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.
* [BFD] (bfd_mach_host_arch_mach): MACHINE arg is `long int *' now.Roland McGrath1995-01-151-2/+2
|
* Initial revisionRoland McGrath1994-12-146-0/+1766
|
* (OBJS): Add unzip.o util.o inflate.o.Roland McGrath1994-12-141-4/+8
| | | | | | (LCLHDRS): Add gzip.h crypt.h tailor.h. (unzip.o util.o inflate.o): Depend on those. (CFLAGS): Use +=.
* (struct execdata): New members `headbuf', `file_data', `optimal_block'.Roland McGrath1994-12-121-85/+300
| | | | | | | | | | | | | | | | | | (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.
* (set_active_trans): Don't deallocate EXECNODE here to work around aMichael I. Bushnell1994-11-091-1/+2
| | | | ufs bug.
* Include <hurd/paths.h> and <fcntl.h>.Michael I. Bushnell1994-11-091-0/+3
| | | | (set_active_trans): Declare as void.
* (set_active_trans): New function.Michael I. Bushnell1994-11-091-0/+19
| | | | (S_exec_init): Call set_active_trans.
* entered into RCSMichael I. Bushnell1994-08-311-7/+13
|
* Formerly exec.c.~84~Roland McGrath1994-08-311-24/+46
|
* Formerly exec.c.~83~Michael I. Bushnell1994-08-301-11/+32
|
* Formerly exec.c.~82~Michael I. Bushnell1994-08-291-9/+24
|
* Formerly exec.c.~81~Michael I. Bushnell1994-08-171-25/+16
|
* Formerly exec.c.~80~Michael I. Bushnell1994-08-161-6/+10
|
* Formerly exec.c.~79~Roland McGrath1994-08-161-2/+4
|
* Formerly exec.c.~78~Michael I. Bushnell1994-08-151-52/+107
|
* Formerly exec.c.~77~Michael I. Bushnell1994-07-221-2/+2
|
* entered into RCSMichael I. Bushnell1994-07-221-34/+8
|
* Formerly exec.c.~76~Michael I. Bushnell1994-07-201-1/+1
|
* Formerly Makefile.~29~Roland McGrath1994-07-201-4/+4
|
* Formerly exec.c.~75~Michael I. Bushnell1994-07-191-6/+6
|
* Formerly Makefile.~28~Michael I. Bushnell1994-07-191-1/+1
|
* Formerly Makefile.~27~Michael I. Bushnell1994-07-051-0/+3
|
* Initial revisionMichael I. Bushnell1994-06-241-0/+1516
|
* Formerly Makefile.~26~Roland McGrath1994-05-311-3/+3
|
* Formerly Makefile.~25~Michael I. Bushnell1994-05-111-3/+3
|
* Formerly Makefile.~24~Roland McGrath1994-05-051-6/+6
|
* Formerly Makefile.~23~Michael I. Bushnell1994-05-021-1/+2
|
* Formerly Makefile.~22~Michael I. Bushnell1994-04-071-0/+2
|
* Formerly Makefile.~21~Michael I. Bushnell1994-04-071-0/+2
|
* Initial revisionMichael I. Bushnell1994-03-291-0/+52
|
* entered into RCSMichael I. Bushnell1993-11-231-1/+1
|
* Formerly hostarch.c.~3~Michael I. Bushnell1993-11-181-2/+2
|
* Formerly hostarch.c.~2~Michael I. Bushnell1993-10-211-3/+4
|
* Initial revisionMichael I. Bushnell1993-09-281-0/+131