| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
PR: 3693
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
|
|
|
|
| |
Reviewed by: bde
|
|
|
|
| |
PR: gnu/3585
|
| |
|
| |
|
|
|
|
|
|
| |
Closes PR docs/3612.
Submitted by: Josh Gilliam <soil@quick.net>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
take the easy way out and implement the beginnings of something similar.
Don't worry, the code here is *dormant* so far, some "help" from cvs is
required. This is going in now so that jdp can see what I'm working on.
This is an extension of the previous existing skeleton $FreeBSD$ code.
|
|
|
|
|
| |
Don't merge this into -2.2 unless you understand the dependencies on
c++rt0, bsd.lib.mk, and gcc -shared. I.e., let me do it.
|
|
|
|
|
|
|
| |
because 2 references to _initialize_kcorelow (the other one
from kvm-fbsd.c) resulted. This prevented gdb from working correectly.
delete kcorelow.c from XSRCS in the Makefile.
|
| |
|
|
|
|
| |
to use files that do not exist here. Also, fix(?) ${.OBJDIR}/init.c hack.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
punning the pcb to an array of ints and using magic indices to
access values in it. This should prevent silent breakage from
changes in the pcb.
Supply 0 for unavailable registers instead of punning the tss to
an array of ints and using magic indices to access garbage values
in it. (The registers are in the pcb; there is nothing interesting
in the tss. This should change someday. At least for dumps, all
the registers should be saved, and common_tss is a good place to
put them.)
Removed ancient wrong (disabled) method for reading eip.
|
|
|
|
| |
repeating the default for MAN1.
|
|
|
|
|
|
|
| |
libraries to come out as 1-byte relocations instead of 4-byte
relocations.
Submitted by: Doug Rabson <dfr@nlsystems.com>
|
|
|
|
|
|
|
| |
sense to have a weak symbol that is not externally visible. This
fixes many of the "relocation burb" warnings produced when compiling
C++ code with "-fpic". Beyond eliminating warnings, it also makes
some things work that didn't work before.
|
|
|
|
|
|
| |
document the -k and -wcore options in the manpage.
change Makefile to use a local copy of the manpage.
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
|\ \
| |/
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
|
| |
|
|
|
|
|
| |
config.h (which isn't used directly). Added a comment about the
indirect use of config.h.
|
|
|
|
|
|
| |
(ignored :-() errors for `make depend' in /sys/i386/boot/*. It's
natural for there to be no libraries there and inconvenient to check
for this in bsd.prog.mk.
|
|
|
|
|
|
| |
instead of leaving random data there. This makes the linker's
output files more deterministic -- an important property for
regression tests.
|
|
|
|
|
| |
This means one search for a string starting with a dash.
Fix also filenames starting with a dash. Close PR #3349
|
|
|
|
|
|
|
|
|
|
|
| |
ld-specific flags. LDFLAGS is really for ld-related flags for cc,
not for ld, and some flags, e.g., -Bshareable, mean completely
different things to cc and ld. Having the wrong things in LDFLAGS
also broke the standard ${PROG} target. This was kludged around
by using a special rule that depended on LDFLAGS being bogus.
Fixing `make depend' broke the special rule but fixed the standard
rule (except in the DESTDIR case, which was handled more strictly
here than elsewhere).
|
|
|
|
|
| |
and many apparent dependendcies on <sys/types.h> from use of u_char.
<dialog.h> avoids u_char, so avoid it here too.
|
|
|
|
| |
PR: gnu/3247: tar -O creates directories...
|
| |
|
|
|
|
| |
refuse file), or if NOPERL is defined (eg: in /etc/make.conf)
|
|
|
|
|
|
|
|
|
| |
dependency on `bar' is very unlikely to be correct.
This is a quick fix for broken dependencies in gdb and many other
places. The dependencies on internal libraries are now missing
instead of wrong when `make depend' is run before the libraries
are created.
|
| |
|
|
|
|
|
|
|
| |
directory. The object (= current) directory always exists, so
don't search for it.
Use ${.TARGET} instead of deprecated $@.
|
|
|
|
|
| |
directory. manpath.1 is always in the current (= object) directory,
so don't search for it.
|
|
|
|
|
| |
directory. man.1 is always in the current (= object) directory,
so don't search for it.
|
|
|
|
|
|
|
|
|
|
|
|
| |
directory. config.h is always in the current (= object) directory,
so don't search for it.
config.h is not a source for the library, so don't put it in SRCS and
don't make the library depend on it.
Don't put unused flags in CFLAGS.
Simplify using INTERNALLIB*.
|
|
|
|
|
|
| |
Fixes PR#3239.
Submitted by: Takeshi WATANABE <watanabe@crayon.earth.s.kobe-u.ac.jp>
|
|
|
|
|
|
|
|
|
|
|
| |
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.
Cleaned up nearby messes, mostly ones invoving paths:
- ../libtxi was useless.
- there were too many redefinitions and too many different names for the
same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
|
|
|
|
|
|
|
|
|
|
|
| |
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.
Cleaned up nearby messes, mostly ones invoving paths:
- -I../libtxi was useless.
- there were too many redefinitions and too many different names for the
same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.
|
|
|
|
|
|
|
|
|
|
|
| |
UPAGES layout.. it was entirely too comfortable with reading and writing
the U area before. I've changed it to use PT_GETREGS/PT_PUTREGS
ptrace ops instead of READ_U etc. The code to read the registers from
core dumps is a bandaid at best. It seems to have problems reading
core dumps from dynamic linked executables still, but at least static
dumps work.
I desperately need help from a gdb/bfd expert. :-) HELP!!
|
| |
|
| |
|
| |
|