aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New gnu-efi dir in 3.0.6Joakim Tjernlund2017-11-092-2/+2
|
* Update gnu-efi submodule to 3.0.6Joakim Tjernlund2017-11-091-0/+0
|
* efi/wrapper: build it with the host toolchain.Benoît Allard2017-11-091-1/+1
| | | | | | | The wrapper program is executed on the build machine, so it should be built with CC_FOR_BUILD. Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
* utils: Use the host toolchain to build.Benoît Allard2017-11-091-6/+6
| | | | | | | The utilities are meant to run on the host machine, hence must be built using the host toolchain. Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
* memdisk: Force ld output format to 32-bitsBenoît Allard2017-11-091-1/+1
| | | | | | | On toolchains where the default output is x86_64, we need to be consistent with the other .o files Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
* utils: use Digest::SHA for sha1passSalvatore Bonaccorso2017-11-041-2/+2
| | | | | | | | | | Debian (Closes: #625812) Author: Salvatore Bonaccorso <carnil@debian.org> Logic can be added if we need to check between these. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* libinstaller: Use SOURCE_DATE_EPOCH for synthesized modification time stampsLukas Schwaighofer2017-11-041-3/+6
| | | | | | | | Patches bin2c.pl to use the value of SOURCE_DATE_EPOCH instead of real modification time stamp (only if SOURCE_DATE_EPOCH is set). Author: Lukas Schwaighofer <lukas@schwaighofer.name> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* make: Sort object files for reproducible linking orderReiner Herrmann2017-11-041-4/+4
| | | | | | | | | Author: Reiner Herrmann <reiner@reiner-h.de> Change be645d7a was not extended to the efi/Makefile previously; this patch addresses this. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* man: Updating list of supported filesystems in extlinuxDaniel Baumann2017-11-041-7/+16
| | | | | | | Debian (Closes: #692844); also update contact info. Author: Daniel Baumann <mail@daniel-baumann.ch> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* ext4: Fix 64bit featurePaulo Alcantara2017-10-152-9/+15
| | | | | | | | | | | | | | | | | | | | | | As per ext4 specification: > In ext2, ext3, and ext4 (when the 64bit feature is not enabled), the > block group descriptor was only 32 bytes long and therefore ends at > bg_checksum. On an ext4 filesystem with the 64bit feature enabled, the > block group descriptor expands to at least the 64 bytes described below; > the size is stored in the superblock. Since block group descriptor has been expanded to 64 bytes long (when 64 bit feature is enabled), we cannot index ext2_group_desc and return it *directly* -- as we did it in ext2_get_group_desc -- it's still 32 bytes long. Instead, use s_desc_size field from superblock to correctly index and return block group descriptors. Cc: H. Peter Anvin <hpa@zytor.com> Cc: Gene Cumm <gene.cumm@gmail.com> Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
* efi/udp: Removing the udp_reader efi_bindingJulien Viard de Galbert2017-05-311-22/+2
| | | | Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net>
* efi/udp: Add retry disabling UseDefaultAddressJulien Viard de Galbert2017-05-311-0/+12
| | | | | | | | Add retry disabling UseDefaultAddress in core_udp_connect() and core_udp_sendto() Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* efi/udp: core_udp_connect: use SubnetMask not StationAddress for netmaskJulien Viard de Galbert2017-05-311-1/+1
| | | | | Signed-off-by: Julien Viard de Galbert <jviarddegalbert@online.net> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* isohybrid: Open ISO file in binary modeColin Finck2017-05-141-1/+1
| | | | | | Open ISO file in binary mode to ensure that line endings stay untouched. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* mbr/isohdpfx.S: Clear CX on INT 13h AH 41h failureMartin Str|mberg2017-03-281-1/+3
| | | | | | If anything goes wrong, clear CX in case it contains garbage. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* mbr/isohdpfx.S: correct stack for heads/sectors; revertMartin Str|mberg2017-03-281-3/+3
| | | | | | | | Heads and sectors were pushed in reverse order per isolinux.asm bb519a95 reversed the order of heads/sectors on the stack Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* Revert "mbr/isohdpfx.S: correct pointer for heads/sectors"Martin Str|mberg2017-03-281-2/+2
| | | | | | This reverts commit 48e94f4fa7b3c32cbd43b6e57c64bc933f76d059. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* mbr/isohdpfx.S: correct pointer for heads/sectorsMartin Str|mberg2017-03-251-2/+2
| | | | | | sectors is pushed first then heads but pointers were in reverse order. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* pxe: Fix recognition of keeppxe optionAdam Goldman2017-03-052-9/+11
| | | | | | | | | | | | | | | The preprocessor directive IS_PXELINUX is no longer valid. Submitted-by: Adam Goldman <adamg@pobox.com> Move "keeppxe" processing from com32/elflink/ldlinux/kernel.c:new_linux_kernel() to com32/lib/syslinux/load_linux.c:bios_boot_linux() using strstr() (not find_argument in original patch). Should also be processed by firmware->boot_linux() if not yet done. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* chain.c32: update reactos= option for modern valueAdy2017-03-042-10/+4
| | | | | | | | | | | | | | | | | | | | Changed from "seg=0:0x8000:0x8100" to "seg=0x0F80" Reactos is "alpha", so the only version of Reactos that its devs support is the "latest" at each time. Older versions of Reactos are not relevant / supported by Reactos' devs. Submitted-By: Ady <ady-sf@hotmail.com> Old 2011-06-14 https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h;hb=28e58e6d01892c1f2f0e1d323745e6463cb9e6c9 https://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h?revision=52226&view=markup New 2011-06-18 https://git.reactos.org/?p=reactos.git;a=blob;f=reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h;hb=0eb6daaf66127de803d36d45a4eea29d30a7ca36 https://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/include/arch/pc/x86common.h?revision=52346&view=markup Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* pxe_api.h: finish revert of 9acbffdGene Cumm2016-11-271-3/+3
| | | | | | | | 9acbffd33b9200ffe37833463b4d4478e824295a caused more issues than it solves. There appears to be a bigger underlying issue that the __weak argument masks. Until the underlying issue is solved, we need __weak. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* core/legacynet/dnsresolv.c: weaken pxe_dns()Gene Cumm2016-11-271-1/+1
| | | | Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* partial revert 9acbffdGene Cumm2016-11-271-2/+2
| | | | | | | | | Weaken 2 declarations. Seems to be the minimal amount for now. First exhibited issues with EFI but later also with BIOS beyond *pxelinux.0 when compiled with gcc-5.3.1 and gcc-6. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* unload_pxe(): fix string in dprintf()H. Peter Anvin2016-06-161-1/+1
| | | | | | Fix a dprintf() message so it matches reality. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* menu: Apply VSHIFT to scrollbarBruno Levert2016-06-141-1/+2
| | | | | | | When VSHIFT is used, the scrollbar's position is relative to the old position. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* efi/Makefile: remove effective double "//"Gene Cumm2016-06-141-3/+3
| | | | | | During the string substitution, an addtional '/' is added unnecessarily. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* spelling: Auxillary to AuxiliaryGene Cumm2016-06-084-6/+6
| | | | | Reported-by: Ady <ady-sf@hotmail.com> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* removing double l from auxilliaryGeert Stappers2016-06-0713-14/+14
| | | | | | | This patch changes only strings, no program code. Reported-by: Ady <ady-sf@hotmail.com> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* extlinux: pull in sys/sysmacros.h for major/minor/makedevMike Frysinger2016-04-231-0/+1
| | | | | | | | | | | | These functions are defined in sys/sysmacros.h, so add the include to main.c. This is already handled correctly in mountinfo.c. Otherwise we get build failures like: main.o: In function 'find_device_sysfs': extlinux/main.c:1131: undefined reference to 'minor' Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* libupload: Use new TFTP OK status definitionGene Cumm2016-04-232-3/+3
| | | | | | | FTBFS: com32/hdt/hdt-dump.c:227:39: error: ‘TFTP_OK’ undeclared (first use in this function) Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* pxe.c: fix stray line-end garbageH. Peter Anvin2016-04-061-1/+1
| | | | | | The previous commit had some unfortunate line-end garbage; remove. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* libupload: use url_set_ip()H. Peter Anvin2016-04-063-36/+35
| | | | | | | | We already have a core function for setting the IP address of an URL object based on network lookup or the server default. Export and use it instead of open-coding the equivalent logic in upload_tftp.c. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe_dns: remove obsolete pxe_dns.c wrapperH. Peter Anvin2016-04-0610-91/+8
| | | | | | | | | We used to need a wrapper around the core function dns_resolv() to implement pxe_dns(), because the former function required its argument to live in low memory. This is no longer the case and hasn't been for a while, so remove this unnecessary level of indirection. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* libupload: don't error out because the tftp functions are unavailableH. Peter Anvin2016-04-063-17/+77
| | | | | | | | Provide weak stubs for the case where the tftp functions aren't available. This prevents link failures for the case of running on top of non-network cores. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* pxe_api.h: remove __weak from prototypesH. Peter Anvin2016-04-061-5/+5
| | | | | | | The prototypes themselves are not weak, and declaring them as such forces the core definitions, which should not be weak, as weak. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* libinstaller: remove signed to unsigned cast in initializationPete Batard2016-03-091-1/+2
| | | | Signed-off-by: Pete Batard <pete@akeo.ie>
* libinstaller: PACKED compatibility for MSVCPete Batard2016-03-091-1/+12
| | | | | | MSVC requires prefix and suffix attributes for packing structures. Signed-off-by: Pete Batard <pete@akeo.ie>
* win/ntfs: remove unused variable and have ntfssect use char API callsPete Batard2016-03-092-6/+6
| | | | | | | | | | The variable 'ok' is never used and generates a warning. Remove it. Also ntfssect.c is designed to be compiled in non Unicode mode when using MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use of 'A' API calls) so that it doesn't break when compiled in Unicode mode, which is what Rufus uses with MSVC. Signed-off-by: Pete Batard <pete@akeo.ie>
* head.inc: error out on NASM 2.11.06H. Peter Anvin2016-03-081-0/+2
| | | | | | | | | NASM 2.11.06 is known to miscompile Syslinux, so error out on that NASM version. Kind of embarrassing for me... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* keytab-lilo: update to support kbd 2.0.3 formatOlivier Brunel2016-03-021-2/+2
| | | | | | | Since kbd 2.0.3 (commit 6ff47cf2) the format generated by 'loadkeys -m' has changed slightly, using "unsigned short" instead of "u_short" Signed-off-by: Olivier Brunel <jjk@jjacky.com>
* Makefile: error out if the core has undefined symbolssyslinux-6.04-pre1H. Peter Anvin2016-03-011-0/+2
| | | | | | | | --unresolved-symbols=report-all apparently doesn't report the case where a symbol is requested but never referenced. Error out if necessary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core/extern.inc: http_bake_cookies is not called from assemblyH. Peter Anvin2016-03-011-1/+1
| | | | | | | http_bake_cookies() is never called from assembly code, remove the declaration. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: remove unused stub pm_local_boot()H. Peter Anvin2016-03-012-8/+0
| | | | | | pm_local_boot is never used, remove it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* syslinux.ld: align the initial heap to 4K rather than 64KH. Peter Anvin2016-03-011-2/+2
| | | | | | | There is absolutely no reason to align to 64K. Correct the note about this being the heap; COM32R modules were Syslinux 4.x specific. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* efi/udp: correct typo of SubnetMaskGene Cumm2016-02-291-1/+1
| | | | | | | Used wrong variable. Reported-By: Patrick Masotta <masottaus@yahoo.com> Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* core/i386/syslinux.ld: Remove HIDDEN referenceGene Cumm2016-02-221-131/+131
| | | | | | | HIDDEN was added to ld in binutils version 2.23 published in August 2012. This helps preserve backwards compatibility for now. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* getfssec: update comment explaining next_extent() semanticsH. Peter Anvin2016-02-171-3/+8
| | | | | | | Update comments which explains next_extent() semantics to be slightly clearer, and also correct the statement that next_extent can be NULL. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* core/layout.inc: we don't need the _lma symbols except in one caseH. Peter Anvin2016-02-111-1/+3
| | | | | | | | | We don't need any of the _lma symbols, except for the one associated with .pm_code. Don't export them unconditionally in SECINFO, because that makes the linker request them as unknown symbols in the dynamic section. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: Clean up the i386-bios buildH. Peter Anvin2016-02-093-172/+143
| | | | | | | | Remove symbols and data structures not used in the i386-bios build, and clean up the linker script so that most internal symbols are HIDDEN. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Makefile: Remove one remaining instance of EFI_BUILDH. Peter Anvin2016-02-091-1/+1
| | | | | | Remove one last stray instance of EFI_BUILD. Signed-off-by: H. Peter Anvin <hpa@zytor.com>