Finally move __dso_handle into genode.ld

Issue #4784
This commit is contained in:
Christian Helmuth 2023-06-29 16:35:03 +02:00 committed by Norman Feske
parent 18c00e58cc
commit 6e7b66cb8a
3 changed files with 3 additions and 5 deletions

View File

@ -17,7 +17,6 @@ SRC_CC += lib/base/raw_output.cc
SRC_CC += lib/base/slab.cc
SRC_CC += lib/base/sleep.cc
SRC_CC += lib/base/sliced_heap.cc
SRC_CC += lib/startup/_main.cc
REP_INC_DIR += src/bootstrap
REP_INC_DIR += src/include
@ -31,4 +30,3 @@ vpath bootstrap/% $(BASE_HW_DIR)/src
vpath hw/% $(BASE_HW_DIR)/src/lib
vpath lib/base/% $(BASE_HW_DIR)/src
vpath lib/base/% $(BASE_DIR)/src
vpath lib/startup/% $(BASE_DIR)/src

View File

@ -88,6 +88,9 @@ SECTIONS
*(.data .gnu.linkonce.d.*)
__dso_handle = .;
LONG(0x0);
/* include all data subsections except those of the boot modules */
*(EXCLUDE_FILE (*boot_modules.o) .data.*)
} : rw

View File

@ -38,9 +38,6 @@ void init_rtld()
init_cxx_guard();
}
void * __dso_handle = 0;
/**
* Lower bound of the stack, solely used for sanity checking
*/