------- Comment #1 from sje at cup dot hp dot com 2010-03-12 19:22 ------- I once asked Jim Wilson about this but didn't get an answer. Here is a pointer to that email. Also included here is a short example that generates the gprel load.
My earlier example and question can be seen in: http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00170.html Short test case: typedef struct table { int a; int b; int c; } table; extern table mv_tables[2]; void foo() { init_mv_table(&mv_tables[1]); } -- sje at cup dot hp dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sje at cup dot hp dot com, | |wilson at codesourcery dot | |com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-03-12 19:22:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42040