Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
* ldlang.c (lang_finish): don't warn if -e start symbol does not exist when linking with -r.
This commit is contained in:
parent
06e4d12d79
commit
81150d3470
|
@ -1,3 +1,8 @@
|
|||
Tue Oct 6 13:08:54 1992 Ian Lance Taylor (ian@cygnus.com)
|
||||
|
||||
* ldlang.c (lang_finish): don't warn if -e start symbol does not
|
||||
exist when linking with -r.
|
||||
|
||||
Mon Oct 5 14:07:37 1992 Ian Lance Taylor (ian@cygnus.com)
|
||||
|
||||
* aout.sc-sh, m68kcoff.sc-sh: set __bss_start to the start of the
|
||||
|
|
15
ld/ldlang.c
15
ld/ldlang.c
|
@ -336,6 +336,19 @@ DEFUN (lang_add_input_file, (name, file_type, target),
|
|||
return new_afile (name, file_type, target);
|
||||
}
|
||||
|
||||
void
|
||||
DEFUN (lang_add_keepsyms_file, (filename),
|
||||
CONST char *filename)
|
||||
{
|
||||
extern strip_symbols_type strip_symbols;
|
||||
if (keepsyms_file != 0)
|
||||
info ("%X%P error: duplicated keep-symbols-file value\n");
|
||||
keepsyms_file = filename;
|
||||
if (strip_symbols != STRIP_NONE)
|
||||
info ("%P `-keep-only-symbols-file' overrides `-s' and `-S'\n");
|
||||
strip_symbols = STRIP_SOME;
|
||||
}
|
||||
|
||||
/* Build enough state so that the parser can build its tree */
|
||||
void
|
||||
DEFUN_VOID (lang_init)
|
||||
|
@ -1846,7 +1859,7 @@ static void
|
|||
DEFUN_VOID (lang_finish)
|
||||
{
|
||||
ldsym_type *lgs;
|
||||
int warn = 1;
|
||||
int warn = config.relocateable_output != true;
|
||||
if (entry_symbol == (char *) NULL)
|
||||
{
|
||||
/* No entry has been specified, look for start, but don't warn */
|
||||
|
|
Loading…
Reference in New Issue