> Something like this? Sorry, I've almost completely forgotten gas syntax > and all that jazz... Yes. The gas syntax looks correct except you probably should add a .align 4. I would use local labels (that's what's what is done for debug and exception info). Just place the local labels adjacent to os_hpmc and os_hpmc_end. This ensures the diff is absolute. > -ENTRY(os_hpmc_end) /* this label used to compute os_hpmc checksum */ > +ENTRY(os_hpmc_end) Probably, you don't need to export os_hpmc_end. > - length = os_hpmc_end - os_hpmc; > + length = os_hpmc_size * sizeof(u32); I believe the size will be correct without multiplying by sizeof(u32). Dave -- J. David Anglin dave.anglin@xxxxxxxxxxxxxx National Research Council of Canada (613) 990-0752 (FAX: 952-6602) -- To unsubscribe from this list: send the line "unsubscribe linux-parisc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html