Displaying 20 results from an estimated 44 matches for "linkflag".
Did you mean:
linkflags
1999 Oct 05
0
smbclient tar restore problem (linkflag) from tape-drive
...ile from a tape drive
onto a Win NT share.
smbclient works successfully when using a tar file on disk,
but is skipping the tar file (created by a third party)
on the tape drive.
The command used is as follows:
smbclient //celeborn/test -U peter -T x /dev/rmt/0
The problem seems to be that the linkflag obtained from the
tape drive is not handled and the file is skipped. The
linkflag appears to be NULL - the code wonders whether it
could be a "gnu tar archive?".
>From reading the code in "clitar.c" the current linkflag
values that are currently handled are: '0'...
2008 Nov 12
1
[LLVMdev] cmake patch to build other targets
Hi, attached is a patch to improve including targets other than X86 in
CMake MSVC builds.
When adding libs to link, rather than always using LLVMX86CodeGen and
LLVMX86AsmPrinter, it grabs the correct ones.
It also adds "force-link-ints" to the various TargetMachine cpp files,
as well as X86AsmPrinter and PPCAsmPrinter. These are needed to be
able to encourage the Win32 linker to
1999 Oct 05
0
SAMBA digest 2259
...lt;gerrym@futuremetals.com>
> 17) Critital SMBMOUNT Error?
> by Aaron Gray <agray@vsi.com>
> 18) HELP ! ERROR FILES > 30 IN CLIENT DOS FOR SAMBA
> by Carmo =?ISO-8859-1?Q?Cr=EAdiney?= de Melo
> <carmo@fusoes.com.br>
> 19) smbclient tar restore problem (linkflag) from tape-drive
> by Peter Wood <peter@irba.co.nz>
>
> ----------------------------------------------------------------------
>
> Date: Mon, 4 Oct 1999 09:16:24 +0200
> From: "Jens Rieck" <rieck@pixelconcept.de>
> To: <samba@samba.org>...
2000 Aug 18
0
[PATCH] Support symlinks in scp of openssh 2
...heir targets.
.It Fl p
Preserves modification times, access times, and modes from the
Index: scp.c
--- scp.c.prev
+++ scp.c Fri Aug 18 04:14:40 2000
@@ -253,5 +253,5 @@ struct passwd *pwd;
uid_t userid;
int errs, remin, remout;
-int pflag, iamremote, iamrecursive, targetshouldbedirectory;
+int linkflag, pflag, iamremote, iamrecursive, targetshouldbedirectory;
#define CMDNEEDS 64
@@ -280,5 +280,5 @@ main(argc, argv)
memset(sshoptions,0,sizeof(sshoptions));
sshoptionsend = sshoptions;
- while ((ch = getopt(argc, argv, "dfprtvBCc:i:P:o:S:q46")) != EOF)
+ while ((ch = getopt(argc, ar...
1998 Apr 12
0
Long file name support for smbclient
...-1;
}
- strcpy(finfo->name, prefix);
-
- /* use l + 1 to do the null too; do prefix - prefcnt to zap leading slash */
- unfixtarname(finfo->name + strlen(prefix), hb->dbuf.name,
- strlen(hb->dbuf.name) + 1);
-
/* can't handle links at present */
if (hb->dbuf.linkflag != '0') {
- if (hb->dbuf.linkflag == 0) {
+ char *bp;
+ long tar_size;
+ switch (hb->dbuf.linkflag) {
+ case 0:
DEBUG(6, ("Warning: NULL link flag (gnu tar archive ?) %s\n",
- finfo->name));
- } else {
+ finfo->name));
+ break;
+...
2017 Jun 14
0
samba 4.5.10 :- build issue with multiple libraries due to LINKFLAGS_PYEMBED
Hi All,
I am building samba 4.5.10 in hpux-IA64.
I want all the bin and libraries to have embedded path /opt/samba/lib.
But few of libraries are build with embedded path of /usr/local/lib/hpux32.
On investigating further i found that for above libraries linker is
using LINKFLAGS and LINKFLAGS_PYEMBED.
LINKFLAGS_PYEMBED has '-Wl,/usr/local/lib/hpux32', Which is over riding the
path provided in LINKFLAGS.
It seems that samba is getting this path from python itself as above path
is nowhere in samba source code.
Please let me know how could i change the path in LIN...
2019 Jan 18
0
[klibc:master] mips64: compile with -mno-abicalls
...MCONFIG
index b37cc6a..6a4b41b 100644
--- a/usr/klibc/arch/mips64/MCONFIG
+++ b/usr/klibc/arch/mips64/MCONFIG
@@ -7,7 +7,17 @@
# accordingly.
#
+KLIBCARCHREQFLAGS = -fno-pic -mno-abicalls -G 0
KLIBCOPTFLAGS += -Os
KLIBCBITSIZE = 64
-KLIBCSHAREDFLAGS = -T $(src)/arch/mips/klibc.ld
+# Extra linkflags when building the shared version of the library
+# This address needs to be reachable using normal inter-module
+# calls, and work on the memory models for this architecture
+# 4862 MB - normal binaries start at 4608 MB. Non-PIC jumps usually
+# use the JAL instruction which requires a destination...
2003 Mar 03
0
Re: [BK PATCH] klibc for 2.5.63
...quot;$(1)"; else echo "$(2)"; fi)
+
+
+OPTFLAGS := $(REGPARM) -march=i386 -Os -fomit-frame-pointer
+OPTFLAGS += $(call check_usergcc, \
+ -falign-functions=0 -falign-jumps=0 -falign-loops=0, \
+ -malign-functions=0 -malign-jumps=0 -malign-loops=0)
+
+BITSIZE := 32
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
# calls, and work on the memory models for this architecture
# 96 MB - normal binaries start at 128 MB
-SHAREDFLAGS = -Ttext 0x06000200
+SHAREDFLAGS := -Ttext 0x06000200
2006 Jun 06
0
ppc32: "Relocation truncated to fit"
...+ b/usr/klibc/arch/ppc/MCONFIG
@@ -7,15 +7,20 @@
# accordingly.
#
-KLIBCOPTFLAGS = -Os
-KLIBCBITSIZE = 32
+gcc_m32_option := $(call cc-option, -m32, )
+
+KLIBCOPTFLAGS = -Os
+KLIBCLDFLAGS = -m elf32ppclinux
+KLIBCARCHREQFLAGS += $(gcc_m32_option)
+
+KLIBCBITSIZE = 32
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
# calls, and work on the memory models for this architecture
# 256-16 MB - normal binaries start at 256 MB, and jumps are limited
# to +/- 16 MB
-KLIBCSHAREDFLAGS = -Ttext 0x0f000...
2012 May 18
0
[PATCH 2/2] add KLIBCSHAREDFLAGS for IA64
...ONFIG | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/usr/klibc/arch/ia64/MCONFIG b/usr/klibc/arch/ia64/MCONFIG
index ad868ef..5b2eac6 100644
--- a/usr/klibc/arch/ia64/MCONFIG
+++ b/usr/klibc/arch/ia64/MCONFIG
@@ -9,3 +9,13 @@
KLIBCOPTFLAGS += -Os
KLIBCBITSIZE = 64
+
+# Extra linkflags when building the shared version of the library
+# This address needs to be reachable using normal inter-module
+# calls, and work on the memory models for this architecture
+# Normal shared libraries are at 0x2000 0000 0000 0000,
+# but something of klibc sits already there,
+# so use 0x2100 0000...
2002 Dec 20
1
smbclient and large file support
..._BIG_UINT)0, 8, hb.dbuf.uid);
+ oct_it((SMB_BIG_UINT)0, 8, hb.dbuf.gid);
+ oct_it((SMB_BIG_UINT) size, 13, hb.dbuf.size);
+ oct_it((SMB_BIG_UINT) mtime, 13, hb.dbuf.mtime);
memcpy(hb.dbuf.chksum, " ", sizeof(hb.dbuf.chksum));
memset(hb.dbuf.linkname, 0, NAMSIZ);
hb.dbuf.linkflag=ftype;
@@ -217,7 +217,7 @@
for (chk=0, i=sizeof(hb.dummy), jp=hb.dummy; --i>=0;) chk+=(0xFF & *jp++);
- oct_it((long) chk, 8, hb.dbuf.chksum);
+ oct_it((SMB_BIG_UINT) chk, 8, hb.dbuf.chksum);
hb.dbuf.chksum[6] = '\0';
(void) dotarbuf(f, hb.dummy, sizeof(hb.dummy));...
2018 Mar 02
5
[PATCH 0/5] Various MIPS fixes
Hi,
I noticed that klibc started crashing on 64-bit MIPS and in my quest to fix the
bug I got a bit carried away and fixed a few other things as well. Here are
various miscellaneous MIPS patches, although the first patch is the important
one.
Thanks,
James
*** BLURB HERE ***
James Cowgill (5):
mips64: compile with -mno-abicalls
mips: use -Ttext-segment when linking shared library
2013 Dec 03
0
[klibc:master] ppc64: Add ppc64le support
...CONFIG
+++ b/usr/klibc/arch/ppc64/MCONFIG
@@ -7,10 +7,10 @@
# accordingly.
#
-KLIBCARCHREQFLAGS = -m64 -mcall-aixdesc
+KLIBCARCHREQFLAGS = -m64
+KLIBCARCHREQFLAGS += $(call cc-option, -mcall-aixdesc, )
KLIBCOPTFLAGS += -Os
KLIBCBITSIZE = 64
-KLIBCLDFLAGS = -m elf64ppc
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
diff --git a/usr/klibc/arch/ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S
index c976d5c..ed14534 100644
--- a/usr/klibc/arch/ppc64/crt0.S
+++ b/usr/klibc/arch/ppc64/crt0.S
@@ -9,25 +9,35 @@...
2004 Sep 14
1
Re: got pointer wrong in shared klibc binary
...N klibc-0.173/klibc/arch/ppc64/MCONFIG klibc/klibc/arch/ppc64/MCONFIG
--- klibc-0.173/klibc/arch/ppc64/MCONFIG 2002-08-13 13:34:47.000000000 +0930
+++ klibc/klibc/arch/ppc64/MCONFIG 2004-09-15 09:22:01.452221449 +0930
@@ -9,3 +9,10 @@
OPTFLAGS = -Os -fomit-frame-pointer
BITSIZE = 64
+
+# Extra linkflags when building the shared version of the library
+# This address needs to be reachable using normal inter-module
+# calls, and work on the memory models for this architecture
+# 256-16 MB - normal binaries start at 256 MB, and jumps are limited
+# to +/- 16 MB
+SHAREDFLAGS = -Ttext 0x0f000200
d...
2013 Dec 03
2
[PATCH 1/2] ppc64: Add ppc64le support
...CONFIG
+++ b/usr/klibc/arch/ppc64/MCONFIG
@@ -7,10 +7,10 @@
# accordingly.
#
-KLIBCARCHREQFLAGS = -m64 -mcall-aixdesc
+KLIBCARCHREQFLAGS = -m64
+KLIBCARCHREQFLAGS += $(call cc-option, -mcall-aixdesc, )
KLIBCOPTFLAGS += -Os
KLIBCBITSIZE = 64
-KLIBCLDFLAGS = -m elf64ppc
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
diff --git a/usr/klibc/arch/ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S
index c976d5c..250a84a 100644
--- a/usr/klibc/arch/ppc64/crt0.S
+++ b/usr/klibc/arch/ppc64/crt0.S
@@ -9,25 +9,35 @@...
2019 Jan 20
0
[klibc:master] Use -Ttext-segment to link shared library on all arches
...ch/arm/MCONFIG
+++ b/usr/klibc/arch/arm/MCONFIG
@@ -21,12 +21,12 @@ KLIBCREQFLAGS += -mthumb
KLIBCLDFLAGS += --thumb-entry _start
KLIBCEMAIN = --thumb-entry main
KLIBCREQFLAGS += -mabi=aapcs-linux
-KLIBCSHAREDFLAGS = -Ttext 0x380200
+KLIBCSHAREDFLAGS = -Ttext-segment 0x380000
else
# Extra linkflags when building the shared version of the library
# This address needs to be reachable using normal inter-module
# calls, and work on the memory models for this architecture
-KLIBCSHAREDFLAGS = -Ttext 0x01800200
+KLIBCSHAREDFLAGS = -Ttext-segment 0x01800000
ifeq ($(CONFIG_AEABI),y)
KLIBCREQFLAGS...
2019 Jan 18
0
[klibc:master] arch: Remove m32r port
...h/m32r/MCONFIG
+++ /dev/null
@@ -1,18 +0,0 @@
-# -*- makefile -*-
-#
-# arch/m32r/MCONFIG
-#
-# Special rules for this architecture. Note that this is actually
-# included from the main Makefile, and that pathnames should be
-# accordingly.
-#
-
-KLIBCOPTFLAGS += -Os
-KLIBCBITSIZE = 32
-
-# Extra linkflags when building the shared version of the library
-# This address needs to be reachable using normal inter-module
-# calls, and work on the memory models for this architecture
-# 224 MB - normal binaries start at 0 (?)
-# (lib?)gcc on cris seems to insist on producing .init and .fini sections
-KLIBC...
2019 Jan 18
0
[klibc:master] mips: use -Ttext-segment when linking shared library
...2 files changed, 6 insertions(+), 215 deletions(-)
diff --git a/usr/klibc/arch/mips/MCONFIG b/usr/klibc/arch/mips/MCONFIG
index c6331a1..7ad6523 100644
--- a/usr/klibc/arch/mips/MCONFIG
+++ b/usr/klibc/arch/mips/MCONFIG
@@ -12,4 +12,9 @@ KLIBCOPTFLAGS += -Os
KLIBCBITSIZE = 32
# Extra linkflags when building the shared version of the library
-KLIBCSHAREDFLAGS = -T $(src)/arch/$(KLIBCARCH)/klibc.ld
+# This address needs to be reachable using normal inter-module
+# calls, and work on the memory models for this architecture
+# 2 MB - normal binaries start at 4 MB
+#
+# Use -Ttext-segment so...
2006 Jun 26
0
[klibc 26/43] m32r support for klibc
...b/usr/klibc/arch/m32r/MCONFIG
@@ -0,0 +1,18 @@
+# -*- makefile -*-
+#
+# arch/m32r/MCONFIG
+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+KLIBCOPTFLAGS = -Os
+KLIBCBITSIZE = 32
+
+# Extra linkflags when building the shared version of the library
+# This address needs to be reachable using normal inter-module
+# calls, and work on the memory models for this architecture
+# 224 MB - normal binaries start at 0 (?)
+# (lib?)gcc on cris seems to insist on producing .init and .fini sections
+KLIBC...
2006 Jun 26
0
[klibc 34/43] sh support for klibc
...*-
+#
+# arch/sh/MCONFIG
+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+ARCHREGFLAGS = -m4 -mno-implicit-fp
+KLIBCOPTFLAGS = -Os -fomit-frame-pointer
+KLIBCBITSIZE = 32
+
+# Extra linkflags when building the shared version of the library
+# This address needs to be reachable using normal inter-module
+# calls, and work on the memory models for this architecture
+# 2 MB -- the normal starting point for text is 4 MB.
+KLIBCSHAREDFLAGS = -Ttext 0x00200200
diff --git a/usr/klibc/arch/sh/...