summaryrefslogtreecommitdiff
path: root/dyn_load.c
diff options
context:
space:
mode:
authorivmai <ivmai>2010-08-25 19:57:06 +0200
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:54 +0200
commit9a13adf61fc5f62f1dcda241aae75114ad5f4ed0 (patch)
tree4af3a1cf6dd9bed25d5918c38a7bf0b04a85ff60 /dyn_load.c
parentb24253398185711b4a7d46bccf837086ff0d2ef9 (diff)
2010-08-25 Ivan Maidanski <ivmai@mail.ru> (with help from Hans Boehm)
* dyn_load.c (GC_register_dynlib_callback): Add FIXME.
Diffstat (limited to 'dyn_load.c')
-rw-r--r--dyn_load.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dyn_load.c b/dyn_load.c
index e1f7ed4..eab59ff 100644
--- a/dyn_load.c
+++ b/dyn_load.c
@@ -486,6 +486,10 @@ STATIC int GC_register_dynlib_callback(struct dl_phdr_info * info,
# ifdef PT_GNU_RELRO
if (n_load_segs >= MAX_LOAD_SEGS) ABORT("Too many PT_LOAD segs");
# if CPP_WORDSZ == 64
+ /* FIXME: GC_push_all eventually does the correct */
+ /* rounding to the next multiple of ALIGNMENT, so, most */
+ /* probably, we should remove the corresponding assertion */
+ /* check in GC_add_roots_inner along with this code line. */
/* start pointer value may require aligning */
start = (ptr_t)((word)start & ~(sizeof(word) - 1));
# endif