Commit Graph

2026 Commits

Author SHA1 Message Date
kristerw
d6d1167518 Minor cleanup of the 'obj_fix_adjustable' macro. 1999-01-02 01:07:51 +00:00
cjs
a5b9b9c815 Include sys/resource.h, because otherwise RLIMIT_STACK is not set
and ld does not bump up its stack limit. This causes large links
(such as the kernel) to segfault on machines with a small stack
limit (particularly sparc, .5 MB).
1998-12-30 15:09:04 +00:00
tv
df33f1f8ad Turn gas.new and ld off on arm32, for now. (Awaiting binutils 2.9.1.) 1998-12-30 15:03:31 +00:00
kristerw
9c2a161620 Enable use of mmap. 1998-12-30 01:19:18 +00:00
tv
e70cacd07d We don't want both NOMAN= and MAN= in the same Makefile. 1998-12-29 15:13:03 +00:00
tv
9d24a9a5c4 Add build structure for gasp (GNU Assembler Preprocessor) which is shipped
with gas; don't enable until gas.new is default everywhere.
1998-12-29 15:12:27 +00:00
kristerw
a20ab6118b gcc places relocations for class references in the text segment. That
is wrong for pic code. Remedy that.

This removes those annoying 'RRS text relocation' warnings when building
libobjc.
1998-12-29 02:03:58 +00:00
tv
6acc855e3e Add bfd targets used by other binary emulations that NetBSD recognizes:
- a.out-i386-bsd
- a.out-i386-freebsd
- coff-i386
1998-12-28 20:39:54 +00:00
tv
8c88ddc66a Add dependency to _arch.mk file on targets.{o,so,po}. 1998-12-28 20:38:50 +00:00
kristerw
28131ce85a Add '-d' flag for compatibility with the old strip. 1998-12-22 23:04:41 +00:00
kristerw
ab2e248758 NetBSD always saves a_midmag as big-endian, but libbfd use the same
endianess as the arch in its internal structures, so we may have to change
the byte order when we write the exec header. The problem is that we need
the little endian version for libbfd to DTRT with the rest of the file.

Solve this by writing the exec header after the rest of the file has been
written.
1998-12-21 03:27:02 +00:00
kristerw
3f4b5577f4 Enable strip for a.out too 1998-12-19 23:50:15 +00:00
thorpej
091c4310d7 No need to descend into directories that no longer exist. 1998-12-17 22:36:42 +00:00
pk
4ba42b7d80 shlib.c has been Moved to `src/libexec/ld.aout_so'
etc.c and ld.h have been obsoleted.
1998-12-17 15:41:48 +00:00
pk
0ea0854e75 These files now live in `src/libexec/ld.aout_so/arch' 1998-12-17 15:38:54 +00:00
pk
aca560d3b4 Adjust include directories.
Enable standard gcc error checking.
1998-12-17 15:17:27 +00:00
pk
e9e87c8bee Collect implementation definitions in `ld_i.h' and use that in other files.
Deal with missing and incorrect prototypes, so this compiles with gcc's
strict error checking turned on.
1998-12-17 14:34:51 +00:00
mrg
ca73b352a6 - install ldscripts into /usr/libdata/ldscripts.
- fix makefile to set SCRIPTDIR to /usr/libdata, to stop ld from
  looking in /usr/libdata/ldscripts/ldscripts.
- enable elf32_sparc & sun4 emulation in ld.new (elf32_sparc appears
  to work correctly, sun4 untested).
- add elf64_sparc emul to the list while i'm here...
1998-12-17 13:59:05 +00:00
pk
9f709b3e8b The a.out version of ld.so now lives in `src/libexec/ld.aout_so' 1998-12-17 11:50:58 +00:00
pk
cec94710e3 ldconfig(8) now lives in `src/sbin/ldconfig' 1998-12-17 11:47:20 +00:00
mrg
5549691ddf set ELFSIZE=32 here 1998-12-16 15:01:50 +00:00
mrg
18e4e7bd52 add support for "sparc-*-netbsdelf" 1998-12-16 15:01:44 +00:00
mrg
c57e92ccdf add support for "sparc-*-netbsdelf" 1998-12-16 14:49:45 +00:00
mrg
33e708f1c7 add a new target "sparc-*-netbsdelf". note that "em=" here is broken. but that is OK as it is broken everywhere here pretty much. 1998-12-16 14:33:14 +00:00
mrg
67f1109836 for sparc-*-netbsd, also enable elf32_sparc & sunos_big. add new target, tentatively named sparc-*-netbsdelf, that uses elf32_sparc as the default target. 1998-12-16 14:31:00 +00:00
mrg
ee64a079d3 turn arm32 (uname -m) & NetBSD (uname -s) into arm-unknown-netbsdX.Y, so that it works for GNU naming 1998-12-16 14:19:54 +00:00
itohy
73de6f8893 Fix typo. :-) 1998-12-16 11:45:12 +00:00
pk
b489374794 ldd & ldconfig are no longer here. 1998-12-15 22:36:24 +00:00
pk
1ad0913030 Cast down the prototype revolt for now.. 1998-12-15 22:34:38 +00:00
pk
fc2f406a64 Pull in proper headers; deal with compiler warnings; miscelleneous KNF. 1998-12-15 22:27:14 +00:00
pk
6dc44fab77 ldd has moved to `src/usr.bin/ldd/ldd_aout' 1998-12-15 22:10:19 +00:00
pk
b53366509b Deal with compiler warnings: format strings, prototypes, variable initialization. 1998-12-15 21:35:17 +00:00
pk
c03c29c0e4 Prototypes. 1998-12-15 21:33:00 +00:00
pk
f6f34d9c9f Pull in <a.out.h>. 1998-12-15 21:28:28 +00:00
pk
7e47c7f32b Add & correct prototypes. 1998-12-15 21:27:08 +00:00
pk
631ebffde3 Layout & compiler warnings. 1998-12-15 21:23:57 +00:00
pk
ad3e459220 NetBSD -> __NetBSD__ 1998-12-15 21:22:52 +00:00
drochner
becaf78b7b <bsd.own.mk> is still needed for OBJECT_FMT 1998-12-13 12:54:33 +00:00
tv
8031b43d5f Import egcs 1.1.1 (release). 1998-12-13 00:15:30 +00:00
tv
b5075450ce Conflict resolution. 1998-12-13 00:12:17 +00:00
tv
1bd5f31faa Import egcs 1.1.1 (release). 1998-12-13 00:04:06 +00:00
tv
1343ef3796 GC old gcc 2.7.2.2. 1998-12-12 23:44:22 +00:00
kristerw
20c1f51323 Add sparc and i386 1998-12-12 21:57:19 +00:00
kristerw
51bd2f0605 Use correct parameters (TARGET_PAGE_SIZE etc.) 1998-12-12 21:53:14 +00:00
christos
272c18109a Add -DLINTCOMMENT for the previous change so that it is easy to spot. 1998-12-09 14:50:02 +00:00
christos
ff2bf3becc Add -DLINTCOMMENT 1998-12-09 14:44:03 +00:00
christos
875e080659 Add a new flag -CC, that preserves comments in macro definitions and expands
them in the right place in the file. Used for lint(1).
1998-12-09 12:26:17 +00:00
tron
4a605844ff Back out previous change, this is a swedish manual page. 1998-12-05 22:01:58 +00:00
tron
2026cecd29 Fix typo noted by Nigel Reed in PR install/6530. 1998-12-05 21:55:58 +00:00
mycroft
21bf4404e6 GC some unused code. 1998-12-04 17:35:53 +00:00