search for: __data_start

Displaying 6 results from an estimated 6 matches for "__data_start".

2010 Feb 20
1
[LLVMdev] Generating a backtrace
...deal with are the libc startup function, and _Unwind_Raise_Exception itself. Yet I know these functions have symbolic names, since I can step through them in gdb, set breakpoints, and so on. I've tried a number of other approaches: Calling dlopen(NULL) and then using dlsym() to try and locate __data_start so that I can then attempt to manually parse the DWARF debug frames to translate the return addresses into function names. Unfortunately, I can't seem to locate __data_start at all. I've also tried calling the libc backtrace() function, but it produced similarly useless results. The really...
2020 Jul 21
0
Errors observing when talloc-2.3.1 is cross compiled
...rtstuff.c:(.fini+0x0): multiple definition of `_fini' /home/balaram/MOXA/le/armv7_latest/bin/../arm-marvell-linux-gnueabi/libc/usr/lib/crti.o:(.fini+0x0): first defined here /home/balaram/MOXA/talloc-2.3.1/bin/.conf_check_79f1972132b1b06dc8dfdcac62686566/testbuild/default/testprog: In function `__data_start': crtstuff.c:(.data+0x0): multiple definition of `__data_start' /home/balaram/MOXA/le/armv7_latest/bin/../arm-marvell-linux-gnueabi/libc/usr/lib/crt1.o:init.c:(.data+0x0): first defined here /home/balaram/MOXA/talloc-2.3.1/bin/.conf_check_79f1972132b1b06dc8dfdcac62686566/testbuild/default/t...
2015 Sep 29
0
[PATCH 2/2] bios: Don't try to guess the sections alignment
...AT(__dynamic_lma) { + .dynamic : AT(ADDR(.dynamic) + __vma_to_lma) { __dynamic_start = .; *(.dynamic) __dynamic_end = .; } - . = ALIGN(32); - - __data_vma = .; - __data_lma = __data_vma + __text_lma - __text_vma; - .data : AT(__data_lma) { + .data : AT(ADDR(.data) + __vma_to_lma) { __data_start = .; *(.data) *(.data.*) diff --git a/core/x86_64/syslinux.ld b/core/x86_64/syslinux.ld index bf815c4..70c6e00 100644 --- a/core/x86_64/syslinux.ld +++ b/core/x86_64/syslinux.ld @@ -255,10 +255,9 @@ SECTIONS . = 0x100000; __pm_code_start = .; + __vma_to_lma = __pm_code_lma - __pm_code_s...
2015 Sep 29
10
[PATCH 0/2] Fixes for gcc 5
From: Sylvain Gault <sylvain.gault at gmail.com> TL;DR: The section aligment in linker scripts messed-up the memory mapping needed for the compression / decompression to work. The bug with gcc 5 is not trivial, I'll do my best to explain it here. Basically, there are two memory mappings of the code. One in "virtual memory", and one in "load memory". The one in
2015 Oct 05
0
[PATCH 2/4] Remove unused linker scripts
..._dynamic_vma + __text_lma - __text_vma); - .dynamic : AT(__dynamic_lma) { - HIDDEN(__dynamic_start = .); - *(.dynamic) - HIDDEN(__dynamic_end = .); - } - - . = ALIGN(16); - - HIDDEN(__data_vma = .); - HIDDEN(__data_lma = __data_vma + __text_lma - __text_vma); - .data : AT(__data_lma) { - HIDDEN(__data_start = .); - *(.data) - *(.data.*) - HIDDEN(__data_end = .); - } - - HIDDEN(__pm_code_end = .); - HIDDEN(__pm_code_len = ABSOLUTE(__pm_code_end) - ABSOLUTE(__pm_code_start)); - HIDDEN(__pm_code_dwords = (__pm_code_len + 3) >> 2); - - . = ALIGN(128); - - HIDDEN(__bss_vma = .); - HIDDEN(__bss_lm...
2015 Oct 05
7
[PATCH 0/4] Improve linker scripts
From: Sylvain Gault <sylvain.gault at gmail.com> These patches basically remove unused linker scripts and port a change that was made to an unused script. Those are to be applied on top of the gcc 5 bug fixes as they would conflict otherwise. Sylvain Gault (4): diag/mbr: fix dependency to linker script Remove unused linker scripts core: Make symbols defined in linker script HIDDEN