https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61577
--- Comment #117 from EML <elowe at elowe dot com> --- I do appreciate someone else taking a look at this; I've had a lot of changes at work, so this really took a back seat. And I don't have access to the HP compiler to try things. I think this is an important step is in comment 112: --- Unfortunately, the above won't work directly because of the function name encoding used on pa. Maybe you can look at aCC to see the assembly output it generates to a call to a weak function. --- If we can figure out how aCC generates such weak and linkonce sections, we should be able to make gcc do the same. As an aside, I have maxtsiz set to 1073741824 (per kctune)