[CRIU] Re: [PATCH 04/10] make: Generate offsets from linked files
only
Pavel Emelyanov
xemul at parallels.com
Mon Apr 16 06:48:38 EDT 2012
> @@ -19,7 +19,7 @@ cat << EOF
>
> EOF
>
> -nm $OBJNAME | tr . _ | awk "$AWK_CMD"
> +nm $OBJNAME | grep "__export_" | tr . _ | awk "$AWK_CMD"
I thought we've decided to go with the "export" section and using objdump for getting one.
What has changed since then?
> cat << EOF
>
> - restore_thread_exec_start = restore_code_start + restorer_blob_offset__restore_thread;
> - restore_task_exec_start = restore_code_start + restorer_blob_offset__restore_task;
> + restore_thread_exec_start = restore_code_start + restorer_blob_offset____export_restore_thread;
> + restore_task_exec_start = restore_code_start + restorer_blob_offset____export_restore_task;
These guys deserve some name generating macro, I suppose.
More information about the CRIU
mailing list