After more testing, this seems to fix the segfault problem I have had. But, there are other pointers declared with the same syntax like: ... *const ptr __attribute__ ((section (".data"))); Maybe these could all be handled by a DECLARE_PTR_GLOBAL() macro. Joe