1<html lang="en"> 2<head> 3<title>Bug Criteria - Untitled</title> 4<meta http-equiv="Content-Type" content="text/html"> 5<meta name="description" content="Untitled"> 6<meta name="generator" content="makeinfo 4.13"> 7<link title="Top" rel="start" href="index.html#Top"> 8<link rel="up" href="Reporting-Bugs.html#Reporting-Bugs" title="Reporting Bugs"> 9<link rel="next" href="Bug-Reporting.html#Bug-Reporting" title="Bug Reporting"> 10<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> 11<!-- 12This file documents the GNU linker LD 13(Sourcery CodeBench Lite 2011.09-69) 14version 2.21.53. 15 16Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 172001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 18 19Permission is granted to copy, distribute and/or modify this document 20under the terms of the GNU Free Documentation License, Version 1.3 21or any later version published by the Free Software Foundation; 22with no Invariant Sections, with no Front-Cover Texts, and with no 23Back-Cover Texts. A copy of the license is included in the 24section entitled ``GNU Free Documentation License''.--> 25<meta http-equiv="Content-Style-Type" content="text/css"> 26<style type="text/css"><!-- 27 pre.display { font-family:inherit } 28 pre.format { font-family:inherit } 29 pre.smalldisplay { font-family:inherit; font-size:smaller } 30 pre.smallformat { font-family:inherit; font-size:smaller } 31 pre.smallexample { font-size:smaller } 32 pre.smalllisp { font-size:smaller } 33 span.sc { font-variant:small-caps } 34 span.roman { font-family:serif; font-weight:normal; } 35 span.sansserif { font-family:sans-serif; font-weight:normal; } 36--></style> 37<link rel="stylesheet" type="text/css" href="../cs.css"> 38</head> 39<body> 40<div class="node"> 41<a name="Bug-Criteria"></a> 42<p> 43Next: <a rel="next" accesskey="n" href="Bug-Reporting.html#Bug-Reporting">Bug Reporting</a>, 44Up: <a rel="up" accesskey="u" href="Reporting-Bugs.html#Reporting-Bugs">Reporting Bugs</a> 45<hr> 46</div> 47 48<h3 class="section">6.1 Have You Found a Bug?</h3> 49 50<p><a name="index-bug-criteria-703"></a> 51If you are not sure whether you have found a bug, here are some guidelines: 52 53 54<a name="index-fatal-signal-704"></a> 55<a name="index-linker-crash-705"></a> 56<a name="index-crash-of-linker-706"></a> 57<ul><li>If the linker gets a fatal signal, for any input whatever, that is a 58<samp><span class="command">ld</span></samp> bug. Reliable linkers never crash. 59 60 <p><a name="index-error-on-valid-input-707"></a><li>If <samp><span class="command">ld</span></samp> produces an error message for valid input, that is a bug. 61 62 <p><a name="index-invalid-input-708"></a><li>If <samp><span class="command">ld</span></samp> does not produce an error message for invalid input, that 63may be a bug. In the general case, the linker can not verify that 64object files are correct. 65 66 <li>If you are an experienced user of linkers, your suggestions for 67improvement of <samp><span class="command">ld</span></samp> are welcome in any case. 68</ul> 69 70 </body></html> 71 72