summaryrefslogtreecommitdiff
path: root/core/kaboom.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'elflink-undi-debug-for-mfleming' of ↵syslinux-6.02-pre13Matt Fleming2013-07-261-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://github.com/geneC/syslinux into firmware Pull UNDIIF packet header debug patch series from Gene Cumm, * 'elflink-undi-debug-for-mfleming' of git://github.com/geneC/syslinux: Allow for UNDIIF_ID_DEBUG in 1 mk line core/lwip/undiif: dprint MAC/ARP/IP/ICMP/TCP/UDP headers; poll debug lwip/undiif: split arphdr._hwlen_protolen lwip: Allow LWIP_PLATFORM_* output to use dprintf lwip: undiif: Fix debug options to unique *_DEBUG macros Conflicts: core/kaboom.c
| * Allow for UNDIIF_ID_DEBUG in 1 mk linesyslinux-5.11-pre9Gene Cumm2013-07-201-1/+1
| | | | | | | | | | | | | | Add comments and 1 line to mk/devel.mk to debug headers of all packets sent/recieved through undiif.c. Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
* | Merge branch 'elflink' into firmwareMatt Fleming2013-01-081-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | Merge the changes since Syslinux-5.00. The main reason behind this merge is to pull in the following bug fix, commit 90b5864fc793 ("core/kaboom.c: Export __bad_SEG()"), which allows us to turn on debugging in mk/devel.mk without ldlinux.c32 failing to load. Conflicts: com32/elflink/ldlinux/Makefile version
| * core/kaboom.c: Export __bad_SEG()Matt Fleming2013-01-081-1/+1
| | | | | | | | | | | | | | | | | | We need to add __bad_SEG() to the symbol export whitelist, otherwise ldlinux.c32 will fail to load if compiled with -DDEBUG=1 due to not being able to resolve __bad_SEG(). Cc: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | Merge tag 'syslinux-5.00' into firmwaresyslinux-6.00-pre3Matt Fleming2012-12-071-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile com32/elflink/ldlinux/Makefile com32/lib/sys/module/elf_module.c core/cleanup.c core/comboot.inc core/conio.c core/fs/fs.c core/init.c core/mem/free.c core/mem/malloc.c core/timer.inc diag/geodsp/Makefile extlinux/main.c mk/embedded.mk modules/Makefile Signed-off-by: Matt Fleming <matt.fleming@intel.com>
| * Symbol export whitelistMatt Fleming2012-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before modules were dynamically loaded the boundary between GPL and non-GPL code was implicit because of the separate link domains for each module. With dynamic modules we need an explicit whitelist of core symbols that non-GPL code can link against at runtime without needing to be re-licensed under the GPL. Mark such symbols with __export, so that it is explicitly clear which symbols in the core can be linked against by non-GPL code. Reduce the visibility of symbols in both the core and ldlinux.c32 with -fvisibility=hidden. __export changes the visibility to 'default'. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* | core: Rename DEBUG macro to avoid gnu-efi library conflictChandramouli Narayanan2012-09-041-1/+1
|/ | | | | | | | | Use of DEBUG macro clases with gnu-efi library. This patch defines CORE_DEBUG. Appropriate changes to sources are made as a result. Also, the linker error on __bad_SEG is fixed. Signed-off-by: Chandramouli Narayanan <chandramouli.narayanan@intel.com> Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* SEG(): centralize the bad bailoutH. Peter Anvin2012-06-291-0/+12
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* core: kaboom.c: file missing from previous checkinH. Peter Anvin2009-08-131-0/+16
kaboom.c; necessary file missing from previous checkin. Signed-off-by: H. Peter Anvin <hpa@zytor.com>