[Bug other/37280] weak symbol regression breaks linux kernel

2008-08-29 Thread hp at gcc dot gnu dot org
--- Comment #4 from hp at gcc dot gnu dot org 2008-08-29 17:03 --- A wee bit shorter: extern int kallsyms_token_index[] __attribute__((weak)); extern int kallsyms_token_table[] __attribute__((weak)); void kallsyms_expand_symbol(int *result) { int len = *result; int *tptr; while(len

[Bug other/37280] weak symbol regression breaks linux kernel

2008-08-29 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2008-08-29 16:30 --- This is fixed by the patch in PR37170. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37280

[Bug other/37280] weak symbol regression breaks linux kernel

2008-08-29 Thread andi-gcc at firstfloor dot org
--- Comment #1 from hp at gcc dot gnu dot org 2008-08-29 16:02 --- (In reply to comment #0) > I attached a preprocessed test case. Where? --- Comment #2 from andi-gcc at firstfloor dot org 2008-08-29 16:02 --- Created an attachment (id=16164) --> (http://gcc.gnu.org/bugzilla

[Bug other/37280] weak symbol regression breaks linux kernel

2008-08-29 Thread hp at gcc dot gnu dot org
--- Comment #1 from hp at gcc dot gnu dot org 2008-08-29 16:02 --- (In reply to comment #0) > I attached a preprocessed test case. Where? -- hp at gcc dot gnu dot org changed: What|Removed |Added ---