• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision2602c7d9f916b4dbebfe67dc71b7802f0d60d695 (tree)
Zeit2015-08-18 18:58:35
AutorH.J. Lu <hjl.tools@gmai...>
CommiterH.J. Lu

Log Message

Remove type_unknown

Ändern Zusammenfassung

Diff

--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -263,8 +263,7 @@ struct bfd_elf_version_tree;
263263
264264 enum output_type
265265 {
266- type_unknown = 0,
267- type_executable,
266+ type_executable = 0,
268267 type_dll,
269268 type_relocatable
270269 };
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -1595,9 +1595,6 @@ parse_args (unsigned argc, char **argv)
15951595 einfo (_("%P%F: -f may not be used without -shared\n"));
15961596 }
15971597
1598- if (link_info.type == type_unknown)
1599- link_info.type = type_executable;
1600-
16011598 /* Treat ld -r -s as ld -r -S -x (i.e., strip all local symbols). I
16021599 don't see how else this can be handled, since in this case we
16031600 must preserve all externally visible symbols. */