Fix crash when built by GNU Gold linker on x86
commitfb45f7075afa033de27e358739cbda0107af12b2
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jun 2017 15:48:14 +0000 (20 08:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jun 2017 16:01:43 +0000 (20 09:01 -0700)
tree010d44c8382fd68eb13ae680d96a3cfa83aba25a
parent6fcbbc393eced8350f6d4679d8070bfc48244aab
Fix crash when built by GNU Gold linker on x86

Problem reported by AndrĂ©s Musetti (Bug#27248).
* src/widget.c (emacsFrameClassRec): Do not initialize superclass here.
(emacsFrameClass): Now a function (which initializes the
superclass) instead of a variable.  All uses changed.
src/unexelf.c
src/widget.c
src/widget.h
src/xfns.c