Fix for ld
This commit is contained in:
parent
bdcd319a1e
commit
b90e1c6f3e
|
@ -1,3 +1,8 @@
|
||||||
|
2001-08-15 Tom Rix <trix@redhat.com>
|
||||||
|
|
||||||
|
* ldgram.y (saved_script_handle): Initialize to NULL.
|
||||||
|
* ldmain.c (main): Change check on saved_script_handle.
|
||||||
|
|
||||||
2001-08-14 Alan Modra <amodra@bigpond.net.au>
|
2001-08-14 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* emultempl/elf32.em: Formatting fixes.
|
* emultempl/elf32.em: Formatting fixes.
|
||||||
|
|
|
@ -50,7 +50,7 @@ static enum section_type sectype;
|
||||||
lang_memory_region_type *region;
|
lang_memory_region_type *region;
|
||||||
|
|
||||||
boolean ldgram_want_filename = true;
|
boolean ldgram_want_filename = true;
|
||||||
FILE * saved_script_handle = false;
|
FILE * saved_script_handle = NULL;
|
||||||
boolean force_make_executable = false;
|
boolean force_make_executable = false;
|
||||||
|
|
||||||
boolean ldgram_in_script = false;
|
boolean ldgram_in_script = false;
|
||||||
|
|
|
@ -298,7 +298,7 @@ main (argc, argv)
|
||||||
|
|
||||||
/* If we have not already opened and parsed a linker script
|
/* If we have not already opened and parsed a linker script
|
||||||
read the emulation's appropriate default script. */
|
read the emulation's appropriate default script. */
|
||||||
if (saved_script_handle == false)
|
if (saved_script_handle == NULL)
|
||||||
{
|
{
|
||||||
int isfile;
|
int isfile;
|
||||||
char *s = ldemul_get_script (& isfile);
|
char *s = ldemul_get_script (& isfile);
|
||||||
|
|
Loading…
Reference in New Issue