diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-10-30 17:28:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-10-30 17:28:55 +0000 |
commit | a8880edadc388da47360cf5f3476bf720c0e44cd (patch) | |
tree | a0780487ab0655df2146861ae0bee5e50fb252d0 /ld | |
parent | 605ca21a04d458d2284105b323d446285837cf0a (diff) | |
download | gdb-a8880edadc388da47360cf5f3476bf720c0e44cd.zip gdb-a8880edadc388da47360cf5f3476bf720c0e44cd.tar.gz gdb-a8880edadc388da47360cf5f3476bf720c0e44cd.tar.bz2 |
* ld.h (args_type): Add warn_mismatch field.
* ldmain.c (main): Initialize warn_mismatch field.
* lexsup.c (parse_args): Handle --no-warn-mismatch option.
* ldlang.c (ignore_bfd_error): New static function.
(lang_check): If warn_mismatch is false, don't warn about
mismatched input files.
* ld.texinfo, ld.1: Document new option.
PR 12714.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 10 | ||||
-rw-r--r-- | ld/ld.1 | 13 |
2 files changed, 22 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 1915fa8..d5e740f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,13 @@ +Thu Oct 30 12:25:55 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld.h (args_type): Add warn_mismatch field. + * ldmain.c (main): Initialize warn_mismatch field. + * lexsup.c (parse_args): Handle --no-warn-mismatch option. + * ldlang.c (ignore_bfd_error): New static function. + (lang_check): If warn_mismatch is false, don't warn about + mismatched input files. + * ld.texinfo, ld.1: Document new option. + start-sanitize-tx49 Wed Oct 29 17:50:26 1997 Gavin Koch <gavin@cygnus.com> @@ -1,4 +1,4 @@ -.\" Copyright (c) 1991, 92, 93, 94, 95, 1996 Free Software Foundation +.\" Copyright (c) 1991, 92, 93, 94, 95, 96, 1997 Free Software Foundation .\" See section COPYING for conditions for redistribution .TH ld 1 "17 August 1992" "cygnus support" "GNU Development Tools" .de BP @@ -91,6 +91,7 @@ ld \- the GNU linker .RB "[\|" \-n | \-N "\|]" .RB "[\|" \-noinhibit-exec "\|]" .RB "[\|" \-no\-keep\-memory "\|]" +.RB "[\|" \-no\-warn\-mismatch "\|]" .RB "[\|" "\-oformat\ "\c .I output-format\c \&\|] @@ -666,6 +667,16 @@ tables as necessary. This may be required if the linker runs out of memory space while linking a large executable. .TP +.B \-no\-warn\-mismatch +Normally the linker will give an error if you try to link together +input files that are mismatched for some reason, perhaps because they +have been compiled for different processors or for different +endiannesses. This option tells the linker that it should silently +permit such possible errors. This option should only be used with +care, in cases when you have taken some special action that ensures +that the linker errors are inappropriate. + +.TP .BI "\-o " "output" .I output\c \& is a name for the program produced by \c |