Commit Graph

89603 Commits

Author SHA1 Message Date
rafal
b8f0be7074 Check in workaround for BFD ABI change on MIPS: the new MIPS BFD generates
relocs for local symbols as section-relative REL32 relocs with values based
at 0, whereas previously BFD generated those relocs with values based at the
start address of the section.

This code adjusts all STT_SECTION REL32 relocs which have values less than
the start of the section by adding in the base address of the section.  This
may limit section sizes to 2GB, but that shouldn't be a problem for now.

XXX: Needs to be followed-up with binutils list to get closure on which
interpretation is correct (the new ABI or the old one), I just haven't
yet had the time to chase that.
2001-12-13 21:41:58 +00:00
thorpej
cbadc6e3d3 Use numeric labels. 2001-12-13 21:34:04 +00:00
bouyer
71e063c830 pdc202xx_setup_channel: remove a duplicate line. 2001-12-13 20:57:22 +00:00
aymeric
8547d02861 FreeBSD PR#23912 fixed by applying a patch from nvi 1.81.x
"underflow of cnt in vs_paint() by O_NUMBER_LENGTH when both leftright and
 number options in use"
2001-12-13 20:53:47 +00:00
aymeric
b9d2b65ffd Finally apply a fix from nvi 1.81.x to replace a fix committed by
Simon Burge which came from the Debian project.
This is still not TRT, but it's correct, and it gets us closer to future
versions of nvi.
I'll do ART (A Right Thing) when I have time... That's why I'm committing
this now. :-/
This fixes FreeBSD PR#23912
2001-12-13 20:51:36 +00:00
bouyer
ca9f8b13da Regen: Add some promise controllers, from FreeBSD 2001-12-13 20:41:05 +00:00
bouyer
b981b05472 Add some promise controllers, from FreeBSD 2001-12-13 20:40:28 +00:00
thorpej
23abd45cd4 Add RCS ID. 2001-12-13 20:31:31 +00:00
thorpej
bbb7ad0534 * Add a linker script which provides a _GOT_END_ symbol that we can
use to find the end of the GOT, rather than relying on _DYNAMIC
  to immediately follow the GOT.  (A change in current binutils
  moved _DYNAMIC, and thus would have broken our Alpha ld.elf_so).
* Add #ifdef'd out code to deal with the new PLT format.
2001-12-13 20:30:48 +00:00
gmcgarry
367be6a153 Sprinkle around the term "machine description file", since this is
the term used in config(9), autoconf(9) and in Torek's paper.

Also remove (comment out) reference to the 4.4BSD config docs,
since they are not installed in usr/share/doc/smm/02.config and
possibly aren't relevant any longer.  From comments made on
tech-kern by jhawk and tls.
2001-12-13 19:47:19 +00:00
tv
94d108be2e Avoid building and installing every time, so that we don't have toolchain
dependencies cause things like constantly regenerating catpages....
2001-12-13 19:36:22 +00:00
gmcgarry
c0ac5406a7 Use "machine description file" and "device definition files" correctly. 2001-12-13 19:29:32 +00:00
gmcgarry
612fadfc86 Document the defflag and defparam statements. 2001-12-13 19:26:50 +00:00
augustss
04c10fc0cf Initialize lock. 2001-12-13 17:25:37 +00:00
augustss
3df38cc501 Some debug stuff. 2001-12-13 17:15:09 +00:00
augustss
f2821a312a Fix TODO comment. 2001-12-13 17:14:21 +00:00
he
a18ce029f6 Deal with lossage caused by the addition of the netbsd-1-5 branch tag
to these files.

Apparently, the "magic" which causes the latest version on the
vendor branch to appear at the head in the repository broke when
the netbsd-1-5 tag was added.  Thus, merge in the lost revisions from
the vendor tag to work around this.
2001-12-13 15:53:54 +00:00
augustss
090d1a628e Move parameter checks to a common place. 2001-12-13 15:09:07 +00:00
augustss
2485171a67 Use unsigned ints. 2001-12-13 15:08:26 +00:00
mrg
07f129f94a clean up a couple of items. 2001-12-13 14:02:02 +00:00
reinoud
994f1fb3f6 Remove `const' attribute from writelabel prototype and function to make it
compile again on Alpha.
2001-12-13 13:52:13 +00:00
junyoung
a477ade7f9 Add myself. 2001-12-13 08:53:54 +00:00
junyoung
9dbc5fd199 ANSIfication & KNF fixes. 2001-12-13 08:38:35 +00:00
junyoung
f075aa60ac ANSIfication & cosmetic changes. 2001-12-13 08:35:38 +00:00
junyoung
9ff2a7a76d ANSIfy. 2001-12-13 08:34:55 +00:00
junyoung
d5decae4e0 ANSIfication & cosmetic changes. 2001-12-13 08:31:39 +00:00
lukem
c00b68cf31 clamp bsize to MAXBSIZE 2001-12-13 06:31:31 +00:00
lukem
b38676bc97 constrain bsize and fsize to MAXBSIZE 2001-12-13 06:29:15 +00:00
chs
2dfd15933e change the reference-counting of PT pages to start from zero instead of
one, so that we don't mess up the global count of wired pages by having
the page's wire_count be non-zero when we free the page.
pointed out by Michael Hitch.
2001-12-13 04:39:50 +00:00
lukem
94ff981067 missed a couple of NOMAN= :( 2001-12-13 03:44:37 +00:00
tacha
cba701fed7 remove bogus printf. 2001-12-13 02:50:30 +00:00
augustss
0ba8bac8fe Fix some bugs. But the driver is still borken. 2001-12-13 02:16:21 +00:00
lukem
c10ff7575c YANOMAN= 2001-12-13 01:26:39 +00:00
augustss
d6bbabfb1b Some DIAGNOSTIC nonsense. 2001-12-13 00:33:58 +00:00
augustss
a97820e536 Don't use u_int since it requires sys/types.h 2001-12-13 00:33:36 +00:00
thorpej
4c49d5310f No need to explicitly pull in bsd.own.mk. 2001-12-13 00:31:39 +00:00
thorpej
2152080e67 No need to pull in bsd.own.mk explicitly. 2001-12-13 00:30:28 +00:00
thorpej
7a3fcb2adf Convert unaligned relocs to aligned relocs if they happen to be
aligned.  Corresponds to part of rev 1.21 of this file in the
master FSF sources.

Thanks to Michael Rauch <mrauch@netbsd.org> for fishing out the patch.
2001-12-13 00:21:57 +00:00
thorpej
d043d0d483 Revert previous, as was done so in the master FSF sources. The
original problem will be fixed in a forthcoming commit.
2001-12-13 00:18:50 +00:00
augustss
8e98b4a185 Add some special cases for the Sitecom adapter.
Make endian safe.
Fix some minor bugs.
2001-12-12 23:59:48 +00:00
lukem
1b6c4afd64 move NOxxx= 2001-12-12 23:53:31 +00:00
jmc
eb0d4b304f Change check for USE_NEW_TOOLCHAIN to just looking for it being defined. 2001-12-12 23:50:27 +00:00
lukem
ad15078862 move NOxxx= 2001-12-12 23:46:45 +00:00
lukem
df91d4a185 move NOxxx= 2001-12-12 23:09:13 +00:00
lukem
0a3f147fdd move NOLINT 2001-12-12 23:08:26 +00:00
thorpej
39c9a8ba17 We apparently must now set NOLINT= *BEFORE* including bsd.own.mk. 2001-12-12 23:00:50 +00:00
fredette
e4e309c64c Define both NLIST_ELF32 and NLIST_AOUT on m68000. 2001-12-12 22:19:18 +00:00
fredette
a01e8e37b1 Define both NLIST_AOUT and NLIST_ELF32 for m68000. 2001-12-12 22:14:46 +00:00
petrov
aaee6a1839 initialize all fpu registers and don't panic on user 'privileged action' 2001-12-12 19:14:47 +00:00
augustss
3ed67fc0c4 Add missing delay for the tekram dongle. 2001-12-12 17:52:06 +00:00