Commit c55dc79a by Richard Stallman

(init_module_descriptor):

Use size_in_bytes to get size of `struct objc_module'.

From-SVN: r3168
parent 58811315
...@@ -812,8 +812,7 @@ init_module_descriptor () ...@@ -812,8 +812,7 @@ init_module_descriptor ()
/* size = { ..., sizeof (struct objc_module), ... } */ /* size = { ..., sizeof (struct objc_module), ... } */
expr = build_int_2 (TREE_INT_CST_LOW (TYPE_SIZE (objc_module_template)) / expr = size_in_bytes (objc_module_template);
BITS_PER_UNIT, 0);
initlist = tree_cons (NULLT, expr, initlist); initlist = tree_cons (NULLT, expr, initlist);
/* name = { ..., "foo.m", ... } */ /* name = { ..., "foo.m", ... } */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment