summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1995-06-08Rewritten to unconditionally return both BFD and ELF machine types.Roland McGrath
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-06(diskfs_shutdown_soft_ports): Deleted decl.Michael I. Bushnell
(ports_demuxer): Deleted decl. (diskfs_demuxer): New decl.
1995-06-06(OBJS): Removed ihash.o and primes.o.Michael I. Bushnell
(CPPFLAGS): Deleted addition of -I../lib. (vpath): Deleted spec. (REMHDRS): Added ../libihash/ihash.h. (HURDLIBS): Added libihash.
1995-06-06(HURDLIBS): Added libihash.Michael I. Bushnell
(CPPFLAGS): Deleted addition of -I../lib. (vpath): Deleted spec. (ps): Deleted ihash.o and primes.o.
1995-06-06(lib-subdirs): Added libihash.Michael I. Bushnell
1995-06-06Initial revisionMichael I. Bushnell
1995-06-05Include <errno.h>.Michael I. Bushnell
1995-06-05Majorly revamped: Now supports the ELF format directly.Roland McGrath
Secondarily uses the BFD library #ifdef BFD. Supports gunzipping only #ifdef GZIP.
1995-06-01(ps.o, fsysopts.o, showtrans.o, settrans.o): Add dependencies on header files.Miles Bader
(REMHDRS): Define this variable.
1995-05-31(ps_own_filter, ps_not_sess_leader_filter, ps_ctty_filter,Miles Bader
ps_unorphaned_filter, ps_parent_filter): Declare these as extern so that the linker will bring in the initialized version (it's not doing so otherwise may be a bug).
1995-05-31(ps_fmt_create): Don't mutate the format spec name in the fmt_spec list we'reMiles Bader
passed just to get correctly capitalized titles. Instead, do things correctly by making enough room to store our own version of the title string, which we can do with what we please.
1995-05-31(DISTFILES): New variable; include frank1.ld and frankemul.ld.Roland McGrath
(CPPFLAGS): Variable removed. (LDFLAGS): Append -T frank1.ld. (boot.1, boot.a): New targets.
1995-05-31Omit .globl decl for errno; it caused some as complaint.Roland McGrath
1995-05-30(SCRS): Removed update.c.Michael I. Bushnell
(targets): Removed update.
1995-05-22(diskfs_set_options): Don't fall through to the error case from the 's' one!Miles Bader
Use ARG instead of the global OPTARG.
1995-05-22When adding a fake argv[0], bump argc.Miles Bader
Set optind to 0, so that getopt will reinitialize itself.
1995-05-22Remove copyright notice.Michael I. Bushnell
1995-05-20(main): Check for a missing filesystem name.Miles Bader
(main): Tweak the error msgs a bit. (options, main): Don't use '?' as the --help key.
1995-05-20(diskfs_S_file_getcontrol): Unlock _diskfs_control_lock lock instead ofMiles Bader
locking it again!
1995-05-20(trans_parse_args): Use options_parse & diskfs_standard_startup_options toMiles Bader
parse our translator options. (usage): New function. (parse_opt): New function.
1995-05-20(CPPFLAGS): Add -I../lib, to get include lib include files,Miles Bader
and $(CPPFLAGS-$(notdir $<)) to get file-specific cpp options. Add a vpath for %.c to ../lib, so we can use source files from there.
1995-05-20(OTHERSRCS): Add opts-set.c, opts-std-startup.c, and opts-runtime-def.c.Miles Bader
(OBJS): Add argz.o & options.o. (REMHDRS): Add argz.h & options.h.
1995-05-20Initial revisionMiles Bader
1995-05-20(diskfs_S_fsys_set_options): Extract the argument vector and callMiles Bader
diskfs_set_options.
1995-05-20(diskfs_standard_startup_options): Declare new variable.Miles Bader
(diskfs_set_options): Declare new function. (diskfs_parse_runtime_options): Ditto. Include <options.h> (currently in ../lib).
1995-05-20Use options_parse & diskfs_standard_startup_options to do command lineMiles Bader
options parsing. Rename `options' to `long_opts'. Most things removed, as they're now handled by libdiskfs. Add parse_opt to deal with our few meagre remaining options in the approved options_parse manner.
1995-05-20Initial revisionMiles Bader
1995-05-19Add the --writable & --nosync options.Miles Bader
1995-05-18(diskfs_startup_diskfs): Start periodic background syncing, if enabled.Miles Bader
1995-05-18Don't start auto-syncing in diskfs_spawn_first_thread, which is way too early!Miles Bader
[And thank god for fsck -b ...]
1995-05-18Add fsysopts.Miles Bader
1995-05-18Declare argz_count and argz_extract.Miles Bader
1995-05-18Add two new functions: argz_count returns the number of arguments in an argzMiles Bader
vector, and argz_extract extracts the arguments into an argv type vector.
1995-05-18(LDFLAGS): Append -static.Roland McGrath
1995-05-17(load_image): Make sure we actually allocate enough memory to read into,Miles Bader
including the offset into the buffer at which the segment is read.
1995-05-17Remove the explicit underscore prefixes from these names, now that we'reMiles Bader
using elf. Instead we use the various macros from <i386/asm.h>. Return errors correctly. Add a copyright notice.
1995-05-16Add -R to the short flags list.Miles Bader
Make non-L usage ignore symbolic links, not all translators. Tweak the help message.
1995-05-16Initial revisionMiles Bader
1995-05-15(pager_clear_user_data): Doc fix.Michael I. Bushnell
1995-05-14(diskfs_set_statfs): Set st->fsys_stb_bsize, not _fsize, to the block size.Miles Bader
1995-05-13(load_image): Fixed alignment calculation in ELF segment loading.Roland McGrath
1995-05-13(OBJS): Remove exec_server_image.o.Roland McGrath
(exec_server_image.o): Rule removed.
1995-05-13Include i386/asm.h and use ENTRY and EXT macros, instead of explicit _s.Roland McGrath
1995-05-13(diskfs_execserver_task): New variable.Roland McGrath
(diskfs_parse_bootargs): Take a third integer arg before the device name, our name for the task port of the exec server, which is loaded and ready to run but suspended.
1995-05-13(start_execserver): Don't create and load a task; the exec server file isRoland McGrath
no longer linked into the filesystem. Just set the bootstrap port of diskfs_execserver_task and resume it.
1995-05-12Add fsys_set_options, replacing fsys_mod_readonly.Miles Bader
1995-05-12Rename fsys-readonly.c to fsys-options.c (as the function is now calledMiles Bader
fsys_set_options).
1995-05-12(fsys_set_options, fsys_mod_readonly): Replace mod_readonly with the moreMiles Bader
general set_options interface.
1995-05-12(diskfs_spawn_first_thread): Start background syncing.Miles Bader