Binutils fails to build with -O0
PR 19851 * plugin.c (try_load_plugin): Avoid -Wstack-usage warning.
This commit is contained in:
parent
859bde274e
commit
6f4c0a426c
|
@ -1,3 +1,8 @@
|
|||
2016-03-22 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 19851
|
||||
* plugin.c (try_load_plugin): Avoid -Wstack-usage warning.
|
||||
|
||||
2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
|
||||
|
||||
* archures.c (bfd_mach_arc_nps400): Define.
|
||||
|
|
|
@ -206,8 +206,7 @@ static int
|
|||
try_load_plugin (const char *pname, bfd *abfd, int *has_plugin_p)
|
||||
{
|
||||
void *plugin_handle;
|
||||
int tv_size = 4;
|
||||
struct ld_plugin_tv tv[tv_size];
|
||||
struct ld_plugin_tv tv[4];
|
||||
int i;
|
||||
ld_plugin_onload onload;
|
||||
enum ld_plugin_status status;
|
||||
|
|
Loading…
Reference in New Issue