]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
lib/uksched: Remove unnecessary alignment for thread inittab
authorSimon Kuenzer <simon.kuenzer@neclab.eu>
Thu, 6 May 2021 13:02:35 +0000 (15:02 +0200)
committerUnikraft <monkey@unikraft.io>
Mon, 17 May 2021 12:52:49 +0000 (12:52 +0000)
The align parameter within `extra.ld` for the `uk_thread_inttab` was
causing some alignment issues for the `text` section. Some builds
were not able to be executed. It turns out that this extra alignment
statement is not needed for the table.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #201

lib/uksched/extra.ld

index ba659d266d11f42fc747a3f17f9d64068ca213cb..21736bb5cec3b36f8cf54fa76bdf45f3f47e75e1 100644 (file)
@@ -1,7 +1,6 @@
 SECTIONS
 {
        .uk_thread_inittab : {
-               . = ALIGN(0x8);
                PROVIDE(_uk_thread_inittab_start = .);
                KEEP (*(.uk_thread_inittab0))
                KEEP (*(.uk_thread_inittab0.*))