search for: elf_module

Displaying 20 results from an estimated 28 matches for "elf_module".

2012 Jul 05
1
[GIT-PULL] Elflink fixes
...you to fetch changes up to 5441637e53c663764612a708ad75b00d3229c1a5: core: Makefile: Do not enable debug by default (2012-07-05 03:55:37 -0300) Signed-off-by: Paulo Alcantara <pcacjr at zytor.com> ---------------------------------------------------------------- Paulo Alcantara (3): elf_module: Remove unused variable vdprintf: Remove unused variable core: Makefile: Do not enable debug by default com32/lib/sys/module/elf_module.c | 4 +--- com32/lib/vdprintf.c | 5 ++--- core/Makefile | 2 +- 3 files changed, 4 insertions(+), 7 delet...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...tcwd() prototype sys/open.c: Fix building warnings from missing prototype sys/fileread.c: Fix build warning from missing prototype sys/fileclose.c: Fix build warning from missing prototype syslinux/idle.c: Fix build warnings from missing prototypes elflink: Delete dump_elf_module() elflink: Fix build warnings elflink: Fix module_load() compiler warnings elflink: Add _module_unload() prototype to module.h ldlinux: Include headers for function prototypes ldlinux: parse_kernel_type() parameter should be const ldlinux: Tag __syslinux_init() a...
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
...com32/include/sys/exec.h | 23 --------- com32/include/sys/module.h | 38 ++++++-------- com32/lib/Makefile | 71 +++++++++++++++----------- com32/lib/elf32.ld | 10 +--- com32/lib/sys/module/common.c | 12 ++++- com32/lib/sys/module/elf_module.c | 97 +++++++++++++++++++++++++++--------- com32/lib/sys/module/exec.c | 87 ++------------------------------ com32/menu/Makefile | 6 +- com32/menu/execute.c | 69 ------------------------- core/Makefile | 2 +- core/comboot.i...
2007 Aug 06
0
cannot use winedbg on ubuntu feisty ?
...in topmost frame>, loclist_size=0x0) [/home/dex/wine-0.9.42/dlls/dbghelp/dwarf.c:2217] in dbghelp (0x0033f288) 7 0x7ec4669c elf_load_debug_info_from_map+0x49c(module=0x12f988, fmap=0x33f440, pool=<register EAX not in topmost frame>, ht_symtab=0x33f490) [/home/dex/wine-0.9.42/dlls/dbghelp/elf_module.c:1092] in dbghelp (0x0033f3f8) 8 0x7ec46b77 elf_load_debug_info+0x147(module=<register ESI not in topmost frame>, fmap=<register EDI not in topmost frame>) [/home/dex/wine-0.9.42/dlls/dbghelp/elf_module.c:1143] in dbghelp (0x0033f4b8) 9 0x7ec4a7eb module_get_debug+0x1ab(pair=0x33f7...
2012 Aug 14
1
[GIT PULL] elflink fixes
...atures.h | 10 +-- com32/include/syslinux/pxe_api.h | 4 + com32/lib/Makefile | 1 - com32/lib/sys/ansicon_write.c | 4 +- com32/lib/sys/gpxe.c | 14 +--- com32/lib/sys/module/common.c | 36 ++++++++++- com32/lib/sys/module/elf_module.c | 15 ++++- com32/lib/sys/rawcon_read.c | 25 +++++--- com32/lib/sys/rawcon_write.c | 8 +-- com32/lib/sys/serial_write.c | 8 +-- com32/lib/sys/stdcon_write.c | 15 ++--- com32/lib/sys/xserial_write.c | 8 +-- com32/lib/syslinux/cle...
2011 May 25
1
[GIT PULL] elflink ldlinux
Hi, These patches contain support for some features that are already in Syslinux 4 but weren't working properly on the elflink branch. It's another step closer to feature parity with Syslinux 4. Having to jump through the comboot API for localboot support is less than ideal and I'll eventually fix that, probably when we move a big chunk of code from asm to C. Also, there's a
2015 Feb 10
3
[PATCH 0/2] fix a couple cosmetic issues
Fixes some typos and missing newlines Jonathan Boeing (2): fix a few typos add missing '\n' to dprintf com32/include/sys/module.h | 2 +- com32/lib/sys/module/exec.c | 4 ++-- core/fs/fs.c | 2 +- core/lwip/src/netif/undiif.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) -- 2.3.0
2016 Jan 15
0
Debugging with Qemu
...itecture" has to appear after the "target" command. Then if you want the debugging symbols of the COM32 modules things get a bit trickier, and that's where the python scripts get very useful. In the main file you have a symbol named modules_head which is a linked list of struct elf_module. You'll have to load the .elf file with the add-symbol-file command. Unfortunately, this command will only load the the .text section at the precise address given while syslinux load the full ELF file at the base address module->base_address. But you can give this command all the sections t...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...| 20 +++++-- com32/include/sys/module.h | 5 ++ com32/include/syslinux/pxe.h | 4 +- com32/lib/Makefile | 7 +- com32/lib/sys/module/common.c | 13 +--- com32/lib/sys/module/elf_module.c | 38 +++++------- com32/lib/syslinux/disk.c | 63 +++++++++++++++---- core/include/pxe.h => com32/lib/syslinux/pxe_dns.c | 50 +++++++++++++--- com32/libupload/upload_tftp.c | 2 +- com32/lua/src/vesa.c...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
...inux/features.h | 10 +-- com32/include/syslinux/pxe_api.h | 4 + com32/lib/Makefile | 1 - com32/lib/sys/ansicon_write.c | 4 +- com32/lib/sys/gpxe.c | 14 +--- com32/lib/sys/module/common.c | 10 +++- com32/lib/sys/module/elf_module.c | 15 ++++- com32/lib/sys/rawcon_read.c | 20 +++--- com32/lib/sys/rawcon_write.c | 8 +-- com32/lib/sys/serial_write.c | 8 +-- com32/lib/sys/stdcon_write.c | 15 ++--- com32/lib/sys/xserial_write.c | 8 +-- com32/lib/syslinux/clean...
2016 Jan 13
2
Debugging with Qemu
On Wed, Jan 13, 2016 at 01:22:17AM +0100, Celelibi wrote: > 2016-01-12 22:21 UTC+01:00, Tal Lubko: > > On Mon, Jan 11, 2016 at 07:20:20PM -0500, Shao Miller wrote: > >> > >> Yes, you can print debug-output from custom builds. > >> > > > > Regarding my other question (debugging). > > I know it is possible to use prints for debugging. > > I
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
...| 6 +- com32/elflink/modules/menu.h | 17 -- com32/elflink/modules/menumain.c | 6 +- com32/elflink/modules/test.c | 7 +- com32/include/sys/module.h | 2 +- com32/lib/sys/module/elf_module.c | 3 +- com32/lib/sys/module/exec.c | 35 +++- com32/lib/vdprintf.c | 6 +- core/elflink/abort_new.c | 29 --- core/elflink/cli.h | 23 -- core/elflink/core-...
2005 Nov 27
1
Question about wine 0.9.2 and VideoLan Media Client
...g=0x7e54d132, debug_size=0x29d9f6, abbrev=0x7e114b28, abbrev_size=0x63fb9, str=0x7dc2638c, str_sz=0x1da66 ) [/home/tom/build/wine-0.9.2/dlls/dbghelp/dwarf.c:2073] in dbghelp (0x7fa8adfa) 6 0x7fa8be8b elf_load_debug_info_from_map(ht_symtab=0x7fbaf6bc) [/home/tom/build/wine-0.9.2/dlls/dbghelp/elf_module.c:897] in dbghelp (0x7fa8be8b) 7 0x7fa8d07b elf_load_debug_info+0xfb(module=0x7fd48210, fmap=0x0) [/home/tom/build/wine-0.9.2/dlls/dbghelp/elf_module.c:979] in dbghelp (0x7fa8d07b) 8 0x7fa8fd4f module_get_debug+0x8f(pcs=0x7fd156a0, module=0x7fd48210) [/home/tom/build/wine-0.9.2/dlls/dbghelp...
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi, This series targets automatic boot menu generation, but most of it is the Lua upgrade, because I got tired reading deprecated API docs. It's mostly a straightforward forward port of the earlier Syslinux specific changes to Lua 5.1, except that: * I chose the add a stub getenv() implementation to the COM32 API instead of #ifdefing out all the references in Lua, and * I kept oslib
2015 Oct 13
0
[PATCH 2/2] core: Fix stack overflow when reloading config
...+++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/core/elflink/load_env32.c b/core/elflink/load_env32.c index 492cc09..db19c7a 100644 --- a/core/elflink/load_env32.c +++ b/core/elflink/load_env32.c @@ -55,7 +55,7 @@ void init_module_subsystem(struct elf_module *module) list_add(&module->list, &modules_head); } -__export int start_ldlinux(int argc, char **argv) +static int _start_ldlinux(int argc, char **argv) { int rv; @@ -96,6 +96,62 @@ again: return rv; } +__export int start_ldlinux(int argc, char **argv) +{ + /* These vari...
2013 Jun 29
0
Syslinux 6.00 released
.../syslinux/efi64/com32/lib/sys/fstat.o /tmp/syslinux/efi64/com32/lib/dprintf.o /tmp/syslinux/efi64/com32/lib/vdprintf.o /tmp/syslinux/efi64/com32/lib/syslinux/idle.o /tmp/syslinux/efi64/com32/lib/exit.o /tmp/syslinux/efi64/com32/lib/sys/module/common.o /tmp/syslinux/efi64/com32/lib/sys/module/x86_64/elf_module.o /tmp/syslinux/efi64/com32/lib/sys/module/elfutils.o /tmp/syslinux/efi64/com32/lib/sys/module/exec.o /tmp/syslinux/efi64/com32/lib/sys/module/elf_module.o -lgnuefi -lefi ld: warning: section `.bss' type changed to PROGBITS /usr/lib64/libefi.a(init.o): In function `InitializeLib': (.text+0x...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
...| 5 +- com32/lib/Makefile | 30 +- com32/lib/exit.c | 2 +- com32/lib/onexit.c | 3 - com32/lib/sys/exit.S | 41 - com32/lib/sys/module/elf_module.c | 47 +- com32/lib/sys/module/exec.c | 53 +- com32/libutil/Makefile | 15 +- .../modules/sort.c => libutil/quicksort.c} | 21 - com32/lua/src/Makefile | 12 +- com32/mboot/Makefil...
2013 Jun 29
6
Syslinux 6.00 released
On Sat, 29 Jun, at 01:57:58AM, Igor Sverkos wrote: > Hi, > > Matt Fleming wrote: > > On Tue, 25 Jun, at 01:52:00PM, Helmut Hullen wrote: > >> Thanks - now it crashes later ... > > > > What crash are you seeing? > > > >> I don't have the ia64 files which are needed for a complete binary. But > >> maybe that's only my special
2013 Jun 12
3
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
On Wed, 12 Jun, at 11:17:44AM, Gerardo Exequiel Pozzi wrote: > Cool thanks!. Now looks better, but still not work. > > For some reason, "ldlinux.c32" is apparently sent but "Failed to load" > by PXELINUX and few seconds later, dnsmasq shows an error message > "failed sending": Argh! The patch was broken. I missed the new core/path.c file. My bad.
2013 Jun 12
5
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
...ot;sendcookies")) { const union syslinux_derivative_info *sdi; diff --git a/com32/lib/sys/module/common.c b/com32/lib/sys/module/common.c index 8547036..b763704 100644 --- a/com32/lib/sys/module/common.c +++ b/com32/lib/sys/module/common.c @@ -59,40 +59,28 @@ void print_elf_symbols(struct elf_module *module) { FILE *findpath(char *name) { + struct path_entry *entry; char path[FILENAME_MAX]; FILE *f; - char *p, *n; - int i; f = fopen(name, "rb"); /* for full path */ if (f) return f; - p = PATH; -again: - i = 0; - while (*p && *p != ':' && i &...