libgcj_bc.c (__data_start, [...]): Add dummy usage.
2009-09-16 Andrew Haley <aph@redhat.com> * libgcj_bc.c (__data_start, data_start, _end): Add dummy usage. From-SVN: r151742
This commit is contained in:
parent
1acba85b37
commit
9da4af8c07
@ -1,3 +1,7 @@
|
||||
2009-09-16 Andrew Haley <aph@redhat.com>
|
||||
|
||||
* libgcj_bc.c (__data_start, data_start, _end): Add dummy usage.
|
||||
|
||||
2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
||||
|
||||
* Makefile.am (libgij_la_LINK, libjvm_la_LINK): New.
|
||||
|
@ -112,3 +112,14 @@ DECLARE_PRIM_TYPE(char)
|
||||
DECLARE_PRIM_TYPE(float)
|
||||
DECLARE_PRIM_TYPE(double)
|
||||
DECLARE_PRIM_TYPE(void)
|
||||
|
||||
|
||||
/* Force executable to export __data_start et al. */
|
||||
|
||||
#pragma weak __data_start
|
||||
extern int __data_start[];
|
||||
#pragma weak data_start
|
||||
extern int data_start[];
|
||||
#pragma weak _end
|
||||
extern int _end[];
|
||||
static void *dummy[] __attribute__((used)) = {__data_start, data_start, _end};
|
||||
|
Loading…
x
Reference in New Issue
Block a user