Displaying 4 results from an estimated 4 matches for "__dynlink_lma".
2015 Sep 29
0
[PATCH 2/2] bios: Don't try to guess the sections alignment
...- . = ALIGN(4);
-
- __gnu_hash_vma = .;
- __gnu_hash_lma = __gnu_hash_vma + __text_lma - __text_vma;
- .gnu.hash : AT(__gnu_hash_lma) {
+ .gnu.hash : AT(ADDR(.gnu.hash) + __vma_to_lma) {
__gnu_hash_start = .;
*(.gnu.hash)
__gnu_hash_end = .;
}
- . = ALIGN(4);
-
- __dynlink_vma = .;
- __dynlink_lma = __dynlink_vma + __text_lma - __text_vma;
- .dynlink : AT(__dynlink_lma) {
+ .dynlink : AT(ADDR(.dynlink) + __vma_to_lma) {
__dynlink_start = .;
*(.dynlink)
__dynlink_end = .;
}
- . = ALIGN(4);
-
- __got_vma = .;
- __got_lma = __got_vma + __text_lma - __text_vma;
- .got : AT(__got_lma...
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
...;
-
- . = ALIGN(4);
-
- HIDDEN(__gnu_hash_vma = .);
- HIDDEN(__gnu_hash_lma = __gnu_hash_vma + __text_lma - __text_vma);
- .gnu.hash : AT(__gnu_hash_lma) {
- HIDDEN(__gnu_hash_start = .);
- *(.gnu.hash)
- HIDDEN(__gnu_hash_end = .);
- }
-
-
- . = ALIGN(4);
-
- HIDDEN(__dynlink_vma = .);
- HIDDEN(__dynlink_lma = __dynlink_vma + __text_lma - __text_vma);
- .dynlink : AT(__dynlink_lma) {
- HIDDEN(__dynlink_start = .);
- *(.dynlink)
- HIDDEN(__dynlink_end = .);
- }
-
- . = ALIGN(4);
-
- HIDDEN(__got_vma = .);
- HIDDEN(__got_lma = __got_vma + __text_lma - __text_vma);
- .got : AT(__got_lma) {
- HIDDEN(__...
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