| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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!!
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
|
| |
|
| |
|
|
|
|
| |
the generated ones in the gdb dist.
|
|
|
|
| |
command lines get rather long). (bsd.lib.mk is particularly bad at this)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of binutils. For all architectures and object file formats,
".p2align n" aligns to the next multiple of 2**n. Thus for FreeBSD,
it does exactly the same thing as the traditional ".align".
The old ".align" directive has different meanings in different
object formats, and even in different variants of a.out. Sometimes
is aligns to a multiple of n, and other times it aligns to a multiple
of 2**n. ".p2align" is preferable for use in assembly language
sources, since it makes them more portable to object formats other
than a.out.
|
|
|
|
| |
from the environment.
|
| |
|
|
|
|
|
|
| |
of all the files and libraries in the command line.
Submitted by: bde (Bruce Evans)
|