Displaying 13 results from an estimated 13 matches for "abicalls".
2019 Jan 18
0
[klibc:master] mips64: compile with -mno-abicalls
...klibc.git;a=commit;h=0a14ced5d7d0c23ece5d2828cbdff6cb1c589b8d
Author: James Cowgill <james.cowgill at mips.com>
AuthorDate: Fri, 2 Mar 2018 14:48:21 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] mips64: compile with -mno-abicalls
By default, the MIPS toolchain compiles all code as PIC. Since klibc
links everything at static addresses, we don't need PIC code so use
-mno-abicalls to disable it. To fix subsequent link errors, use
-Ttext-segment to adjust the base address of klibc to a more sensible
location.
This fixes a...
2013 Dec 10
2
[LLVMdev] [cfe-dev] ARM Integrated Assembler
On 10 December 2013 15:35, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> Without it, -save-temps is broken. As such it falls into a pretty
> basic use case.
Hi Joerg,
I couldn't find anything in bugzilla that matched your description,
but it seems like a pretty bad problem, can you point us to the
discussion so we can decide whether it should be fixed now, or after
the
2013 Dec 10
0
[LLVMdev] [cfe-dev] ARM Integrated Assembler
...your description,
> but it seems like a pretty bad problem, can you point us to the
> discussion so we can decide whether it should be fixed now, or after
> the move.
I haven't created a bug report yet. From memory, the following things
are missing and higher-priority:
Pseudo-ops:
.abicalls
.fpu
.arch
.cpu
Modifiers:
foo(GOTOFF)
foo(GOT)
foo(PLT)
ldr is a separate issue with a pending patch.
Joerg
2013 Dec 10
2
[LLVMdev] [cfe-dev] ARM Integrated Assembler
> I haven't created a bug report yet. From memory, the following things
> are missing and higher-priority:
This is looking hopeful.
> Pseudo-ops:
> .abicalls
This is MIPS-only.
> .fpu
> .arch
> .cpu
I think there was some opinion that directives like these weren't
essential (well, I certainly hold the opinion!)
> Modifiers:
> foo(GOTOFF)
> foo(GOT)
> foo(PLT)
I think David fix...
2018 Sep 06
3
How to add Loongson ISA for Mips target?
...on:
$ cat hello.c
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World\n");
return 0;
}
$ gcc -O0 -S hello.c
$ cat hello.s
.file 1 "hello.c"
.section .mdebug.abi64
.previous
.nan legacy
.gnu_attribute 4, 1
.abicalls
.rdata
.align 3
.LC0:
.ascii "Hello World\000"
.text
.align 2
.globl main
.set nomips16
.set nomicromips
.ent main
.type main, @function
main:
.frame $fp,48,$31 # vars= 16, regs= 3/0, args= 0, gp= 0...
2018 Sep 06
2
How to add Loongson ISA for Mips target?
...World\n");
>> return 0;
>> }
>>
>> $ gcc -O0 -S hello.c
>>
>> $ cat hello.s
>> .file 1 "hello.c"
>> .section .mdebug.abi64
>> .previous
>> .nan legacy
>> .gnu_attribute 4, 1
>> .abicalls
>> .rdata
>> .align 3
>> .LC0:
>> .ascii "Hello World\000"
>> .text
>> .align 2
>> .globl main
>> .set nomips16
>> .set nomicromips
>> .ent main
>> .type main,...
2018 Mar 02
5
[PATCH 0/5] Various MIPS fixes
...tarted 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
mips/mips64: simplify crt0 code
mips: don't save floating point registers in setjmp / longjmp
mips64: remove __unused from __jmp_buf
usr/include/arch/mips/klibc/archsetjmp.h | 14 --
usr/include/arch/mips64/klibc/archsetjmp.h |...
2013 Dec 10
0
[LLVMdev] [cfe-dev] ARM Integrated Assembler
On Tue, Dec 10, 2013 at 05:07:06PM +0000, Tim Northover wrote:
> > I haven't created a bug report yet. From memory, the following things
> > are missing and higher-priority:
>
> This is looking hopeful.
>
> > Pseudo-ops:
> > .abicalls
>
> This is MIPS-only.
Sorry, too much assembler in a short time. You are right.
> > .fpu
> > .arch
> > .cpu
>
> I think there was some opinion that directives like these weren't
> essential (well, I certainly hold the opinion!)
At l...
2019 Jan 19
1
[ANNOUNCE] klibc 2.0.5
...a large write to allow better bypass
[klibc] fwrite: fix typo in comment
Helge Deller (1):
[klibc] Add pread and pwrite 32bit syscall wrappers for parisc
James Clarke (1):
[klibc] Fix sparc assembly when compiled as PIC
James Cowgill (5):
[klibc] mips64: compile with -mno-abicalls
[klibc] mips: use -Ttext-segment when linking shared library
[klibc] mips/mips64: simplify crt0 code
[klibc] mips: don't save floating point registers in setjmp / longjmp
[klibc] mips64: remove __unused from __jmp_buf
Jay Vosburgh (1):
[klibc] ipconfig: handle mul...
2019 Jan 05
0
Pull request: collected patches for klibc
...ove unused variables
[klibc] use more consistent quoting
[klibc] remove some 'make -s' build spew
[klibc] add more PHONY targets to $(PHONY)
James Clarke (1):
[klibc] Fix sparc assembly when compiled as PIC
James Cowgill (5):
[klibc] mips64: compile with -mno-abicalls
[klibc] mips: use -Ttext-segment when linking shared library
[klibc] mips/mips64: simplify crt0 code
[klibc] mips: don't save floating point registers in setjmp / longjmp
[klibc] mips64: remove __unused from __jmp_buf
Jay Vosburgh (1):
[klibc] ipconfig: handle mul...
2014 May 02
2
[LLVMdev] MIPS n64 ABI and non-PIC
Actually, GCC will generate non-PIC for n64. Maybe that is a recent
addition, but we are using its results. Even if PIC may be faster and
smaller code, it seems that non-PIC is still useful for bare-metal. That's
the driver of my interest. I guess we can just test what happens when that
part of the conditional is removed. As a side note, if it isn't supported
then we should probably
2006 Jun 26
2
[klibc 28/43] mips support for klibc
...-- /dev/null
+++ b/usr/klibc/arch/mips/MCONFIG
@@ -0,0 +1,15 @@
+# -*- makefile -*-
+#
+# arch/mips/MCONFIG
+#
+# Special rules for this architecture. Note that this is actually
+# included from the main Makefile, and that pathnames should be
+# accordingly.
+#
+
+KLIBCARCHREQFLAGS = -fno-pic -mno-abicalls -G 0
+KLIBCOPTFLAGS = -Os
+KLIBCBITSIZE = 32
+
+# Extra linkflags when building the shared version of the library
+KLIBCSHAREDFLAGS = -T $(src)/arch/$(KLIBCARCH)/klibc.ld
diff --git a/usr/klibc/arch/mips/Makefile.inc b/usr/klibc/arch/mips/Makefile.inc
new file mode 100644
index 0000000..31...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: