summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2018-12-16build system: Makefile.in: include custom config defs before project files.midipix1-9/+8
2018-12-13build system: configure: cfgdefs.mk must always be written from scratch.midipix1-8/+10
2018-12-13built system: added the NATIVE_CC_{CFGHOST|CFLAGS|LDFLAGS} variables.midipix3-1/+17
2018-12-10build system: configure: robustly support special characters in custom args.midipix1-27/+9
Special thanks to Jonas 'Sortie' Termansen, author of the Sortix operating sys (https://sortix.org), for brainstorming about the best way to forward arguments containing special symbols or characters to a sourced (aka dot) shell script, as well as sharing single-quote tips and tricks.
2018-12-10build system: configure: set $mb_native_cc independently of $CC.midipix1-8/+0
2018-12-10build system: support custom configuration via cfgdefs.sh (and usrdefs.mk).midipix3-3/+99
2018-12-10build system: added NATIVE_CC_HOST support.midipix3-1/+18
2018-11-25build system: --all-shared: ensure linking against the newly built library.midipix1-1/+1
This patch guards against the case where -lfoo would result in the linking in of either an external import library libfoo.lib.a, or a static libfoo.a, be it internal or external to the build system.
2018-11-25build system: only apply LDFLAGS_IMPLIB to the package's primary shared lib.midipix2-1/+1
2018-11-25build system: --all-shared: properly express primary shared library dependency.midipix1-1/+1
2018-11-25build system: PE, ELF: defined DSO_REF_VER, DSO_REF_SONAME, DSO_REF_SOLINK.midipix2-0/+8
These definitions come in handy when a project generates alongside its ``primary shared library'' one or more ``extension libraries'' that depend on it. When the rules for generating extension libraries use the $^ directive, the above dependency must be declared in a target-aware manner. In most cases, one would want to express this dependency by way of $(DSO_REF_SONAME), thereby pulling in lib/libfoo.so.$(MAJOR) on ELF targets, lib/libfoo.$(MAJOR).lib.a on midipix targets, and lib/libfoo.$(MAJOR).dll.a on win32 targets.
2018-11-25build system: sysinfo: bsd/linux: remove implib .PHONY defs (are in elf.mk).midipix2-4/+0
2018-11-23build system: all-shared: use LDFLAGS_APP as before, now with correct ordering.midipix1-1/+1
2018-11-22build system: added --cfghost support.midipix4-2/+17
2018-11-20pe_get_image_meta(), pe_read_import_lookup(): follow correct lookup semantics.midipix4-24/+22
2018-11-20pe_get_image_meta(): properly read the import-by-ordinal import lookup flag.midipix2-4/+4
2018-11-20output: header dump: pe_hdrdump_import_tbl(): output the import library name.midipix1-2/+30
2018-11-20perk_structs.h: added struct pe_raw_import_name (dummy definition).midipix1-0/+5
2018-11-20output: header dump: added pe_hdrdump_import_tbl().midipix3-0/+78
2018-11-20pe_get_image_meta(), struct pe_meta_import_hdr: added .ih_virtual_addr.midipix2-0/+5
2018-11-20output: header dump: added pe_hdrdump_export_hdr().midipix3-0/+68
2018-11-20pe_get_image_meta(), struct pe_meta_export_hdr: added .eh_virtual_addr.midipix2-0/+3
2018-11-20output: header dump: added pe_hdrdump_sec_tbl().midipix3-0/+83
2018-11-20output: header dump: added pe_hdrdump_opt_hdr().midipix3-0/+200
2018-11-20output: header dump: added pe_hdrdump_coff_object_hdr().midipix3-0/+64
2018-11-20output: header dump: added pe_hdrdump_coff_image_hdr().midipix3-0/+65
2018-11-20output: header dump: added pe_hdrdump_image_dos_hdr().midipix5-0/+93
2018-11-20internals: added pe_output_hex_{header|footer}(), pe_output_raw_element().midipix4-0/+285
2018-11-20pe_get_image_meta(), pe_get_image_framework(): init/use .m_framework member.midipix2-66/+77
2018-11-20pe_get_image_meta(), pe_get_image_subtype(): init/use the .m_subtype member.midipix2-8/+19
2018-11-20pe_get_image_meta(), pe_get_image_abi(): init/use the .m_abi member.midipix2-34/+48
2018-11-20struct pe_image_meta: added the pe_abi, pe_subtype, and pe_framework members.midipix1-0/+4
2018-11-10build system: host flavors: support suffixed library extensions.midipix10-3/+35
'cause you cannot eat your Apfel and eat it two.
2018-08-17driver: pe_get_driver_ctx(): support stack-based argv.midipix1-1/+1
2018-08-09internals: pe_output_strerror(): use strerror_r(3) rather than strerror(3).midipix1-5/+14
2018-08-09front-end utility: pe_main(): remove the redundant argc parameter.midipix4-4/+5
2018-08-05build system: configure: replace non-simple backtick with $(...) construct.midipix1-1/+1
2018-08-05project: added initial pkgconfig.support.midipix1-0/+9
2018-08-05build system: fix shared/static install target dependencies on install-pkgconf.midipix1-2/+2
2018-08-05build system: all-shared binary: added missing build-dep on $(SHARED_SOLINK).midipix1-1/+1
2018-08-05build system: all-shared front-end variant: fix ordering of -l$(PACKAGE).midipix1-1/+1
2018-08-05build system: install-shared, install-static: added initial pkgconfig support.midipix3-0/+133
2018-08-05build system: configure, Makefile.in: added initial pkgconfig support.midipix3-3/+84
2018-08-05coding-style meditation.midipix1-2/+2
2018-08-04driver: pe_get_driver_ctx(): fix oversight in invocation of argv_get().midipix1-1/+1
2018-08-04pe_output_error_record(): use fdctx->fderr to determine annotation mode.midipix1-2/+2
2018-07-25pe_map_raw_image(): use openat and the context's fdcwd.midipix1-2/+6
2018-07-24pe_output_error_record(): re-implemented with fdctx and pure fdio.midipix1-8/+17
2018-07-24output interfaces: revised API and implementation to use fdctx and pure fdio.midipix9-91/+127
2018-07-24driver, library interfaces: support alternate fd's for input/output/error/log.midipix5-18/+138