| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Add -I${DESTDIR}/usr/include to cpp command.
|
|
|
|
|
|
|
| |
completely when ldconfig unlinks it. If init is shared, then the
referenced unlinked copy of the hints file created by running
ldconfig in /etc/rc caused the file system to be unclean after
every reboot.
|
|
|
|
|
|
| |
automagically. -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
|
| |
|
| |
|
|
|
|
| |
Reported by John Lind.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
handling of errors through the standard err() and warn()
more fixes for Geoff Rehmet's NULL pointer bug.
fixes NULL pointer bugs when linking mono and nested X servers.
supports a `-nostdlib' option.
accept object files without a symbol table
don't attempt dynamic linking when `-A' is given
a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.
I tested 'make world' for /usr/src and X twice with these changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Paul Kranenburg's description:
ld is in error here, assuming that symbols with N_EXT set always have an
entry in the (global) symbol table: this is not the case for C++ generated
constructor/destructor symbols. I can reproduce your failure by fudging
a "multiply defined" constructor symbol by hand. Checking for `g == NULL'
seems to be a ok as a fence for now.
So:
for now, in do_file_warnings() we check if g == NULL, before trying to generate
any warning messages. This prevents a NULL pointer dereference.
|
| |
|
|
|
|
|
|
| |
to public. These functions are also used in /usr/include/link.h,
so it looks, like they shouldn't be private.
I will ask Paul about that, if this is correct.
|
| |
|
|
|
|
|
| |
by Satoshi Asami ( asami@cs.berkeley.edu ). Fixed also a minor typo
problem.
|
|
|
|
|
| |
-lgcc_pic library. rtld uses the udivd3 routine from it.
Repeat the bug by simply compiling ld on current.
|
| |
|
|
|
|
| |
update. This completely broke support for all ZMAGIC a.out formats.
|
|
|
|
|
| |
so that you can bootstrap a 1.0.2 system. Please oh please no one but
no one add any more #ifdef __FreeBSD__ stuff UNTIL 1.1 has SHIPPED!!!
|
| |
|
|
|
|
|
|
|
|
|
|
| |
late stage due to the fact that link.h was copyright Sun Microsystems.
This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed). Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).
|
| |
|
|
|
|
|
| |
these are handled by /etc/rc and this was causing errors on a new
install as these places do NOT exsist by default!
|
| |
|
| |
|
|
|
|
|
|
| |
caued ld to `exit silently', to general confusion.
2. Add Gary Jennejohn's fix to support debugging of shared libraries.
|
| |
|
|
|
|
| |
output to be QMAGIC.
|
| |
|
|
|
|
| |
in front of BINDIR definition.
|
| |
|
| |
|
|
|
|
| |
different from NetBSD's here and it squeaked through the update.
|
| |
|
|
|
|
|
| |
preprocessed the same as when they are compiled. I just remove the
single-quotes from the offending comments. Rich
|
|
|
|
|
| |
which eliminates the stack walking code (from David G.). My previous commit
message was eaten by mistake!
|
|
|
|
| |
(no more sbrk_init()!).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
You write that
LDFLAGS+= -Xlinker -Bstatic
no more needed, but you have
CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
This -static doesn't make any sense in your version,
because it not passed to linker's state (LDFLAGS),
so we have SHARED /usr/bin/ld in this case.
(Older Makefile produce non-shared ld).
I suppose, that -static in CFLAGS was introduced to
make non-shared ld, so I restore previous LDFLAGS
to have non-shared ld. If we want to have shared ld
we need to remove -static from CFLAGS too, not only LDFLAGS,
but this need special issue and corresponding
commit log. Your current version hang into intermediate
state (beetween two sides), so I move it to one side.
Second, I restore NOPIC dependance again from older Makefile:
.if !defined(NOPIC)
SUBDIR+= rtld
.endif
We don't need ld.so, if NOPIC
P.S. I don't see any purpose to commit new makefile, old version
is better.
|
| |
|
|
|
|
| |
default compilation.
|
| |
|
| |
|
|
|
|
|
|
|
| |
newly commited Makefile.
NOPIC dependance missed too!
Oh it is really pain to check all that broken stuff,
Please, check it *before* commit!
|
|
|
|
| |
!!! Please, COMPILE *BEFORE* COMMIT!
|
|
|
|
|
| |
!!! Please, anybody who update ld to NetBSD current,
!!! look at old cvs logs!
|
|
|
|
|
|
| |
Add missing argument to findshlib, I am not shure,
but it seems that it is 1.
!!! Does anybody compile it before commit?
|
|
|
|
|
| |
!!! Please anybody who port Makefiles from NetBSD,
!!! remove -g option!
|
| |
|
| |
|
| |
|
| |
|