diff options
author | dfr <dfr@FreeBSD.org> | 1997-05-13 10:23:47 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1997-05-13 10:23:47 +0000 |
commit | b0fdd73677eea5df875efc2599d480f7d29fa246 (patch) | |
tree | 5bc960944dbc3e634f3956f9481a64aa7ff34394 /libexec/rtld-aout | |
parent | bbffd7053b45f95b65ff661f1d6ece91289c4dc4 (diff) | |
download | FreeBSD-src-b0fdd73677eea5df875efc2599d480f7d29fa246.zip FreeBSD-src-b0fdd73677eea5df875efc2599d480f7d29fa246.tar.gz |
Changes to support the kernel linker:
Add a -Bforcedynamic option which generates a dynamic object even
if no shared libraries were given in the link.
Make RRS in text section warnings conditional on "-assert pure-text"
so that I can link non-PIC kernel modules without tons of link
errors. Changes to bsd.lib.mk to follow.
Fix a couple of bugs exposed by the fact that the kernel is not
linked at zero.
Reviewed by: jdp
Diffstat (limited to 'libexec/rtld-aout')
-rw-r--r-- | libexec/rtld-aout/dynamic.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libexec/rtld-aout/dynamic.h b/libexec/rtld-aout/dynamic.h index 1231a62..c1890db 100644 --- a/libexec/rtld-aout/dynamic.h +++ b/libexec/rtld-aout/dynamic.h @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id$ + * $Id: dynamic.h,v 1.3 1997/02/22 15:46:18 peter Exp $ */ #ifndef __DYNAMIC_H__ @@ -279,6 +279,9 @@ extern int link_mode; of archives */ #define SHAREABLE 8 /* Build a shared object */ #define SILLYARCHIVE 16 /* Process .sa companions, if any */ +#define FORCEDYNAMIC 32 /* Force dynamic output even if no + shared libraries included */ +#define WARNRRSTEXT 64 /* Warn about rrs in text */ extern FILE *outstream; /* Output file. */ extern struct exec outheader; /* Output file header. */ |