X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FLinkerInternals.h;h=07d6334c7f4fab7d3299c6548cf9824c1f1a28ea;hb=3eacdc7faf0d0e87a7201253f9f12c1fb4db7249;hp=5fdbd6c9c8b865179a267da66c2da0727a86e5f7;hpb=03a9ff01812afc81eb5236fd3063cbec44cf469e;p=ghc-hetmet.git diff --git a/ghc/rts/LinkerInternals.h b/ghc/rts/LinkerInternals.h index 5fdbd6c..07d6334 100644 --- a/ghc/rts/LinkerInternals.h +++ b/ghc/rts/LinkerInternals.h @@ -70,6 +70,12 @@ typedef struct _ObjectCode { /* ptr to malloc'd lump of memory holding the obj file */ char* image; +#ifdef darwin_HOST_OS + /* record by how much image has been deliberately misaligned + after allocation, so that we can use realloc */ + int misalignment; +#endif + /* The section-kind entries for this object module. Linked list. */ Section* sections;