Andrew Waterman
45d1760696
Explicitly use /bin/bash for Makefile's shell
12 years ago
Andrew Waterman
75a844fa6b
binutils: remove unused macro
12 years ago
Andrew Waterman
3d4777c9c0
binutils: clean up code; adhere to FSF spacing
h/t Matt Thomas
12 years ago
Yunsup Lee
6a6d4b6669
add contributors to README
12 years ago
Matt Thomas
c7318194df
Print absolute addresses for auli/jalr pair
It turns out that this instruction sequence can be generated to call
an absolute address. This adds a comment to the JALR with the full
expanded address, which is useful for debugging (it turns out it's
easier to just let my PC do addition rather than having to do it in my
head).
Note that amd64 does this exact thing, so it's probably correct... :)
Signed-off-by: Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>
12 years ago
Andrew Waterman
74ecda871c
gcc: don't override ASM_OUTPUT_ALIGNED_LOCAL
There's no longer any need to do so.
12 years ago
Andrew Waterman
9a84573521
gcc: detect assembler support for TLS
h/t Matt Thomas
12 years ago
Andrew Waterman
3f2f3b2d4a
gcc: don't put common variables in .sbss section
Doing so removes their commonness, as though -fno-common had been set.
The sbss optimization is still available by specifying -fno-common.
h/t Matt Thomas
12 years ago
Andrew Waterman
db23c2efe2
binutils: remove legacy cruft and s/MIPS/RISC-V/
h/t Matt Thomas
12 years ago
Andrew Waterman
7e5297a66a
binutils: don't needlessly set needs_plt flag
12 years ago
Andrew Waterman
60be355bbd
binutils: try copy relocs only for static linking
This fixes some assertion failures when R_RISCV_64 and R_RISCV_CALL_PLT
were used against the same global symbol.
12 years ago
Andrew Waterman
3f9e42729a
glibc: rely on generic linux syscalls, headers
12 years ago
Andrew Waterman
cfe145a1a0
Fix newlib toolchain build on Mac OS
Tested on OS 10.7.5. glibc toolchain is still broken, seemingly due to
Mac OS's version of sed.
12 years ago
Andrew Waterman
ec3651b946
binutils: fix printf formats in disassembler
12 years ago
Andrew Waterman
3efc407112
Add README
12 years ago
Andrew Waterman
b2e1887bfc
newlib: import port of newlib 1.18.0
12 years ago
Andrew Waterman
6c7ff4f040
Don't use crti.S/crtn.S
They are unnecessary because we use .init_array/.fini_array exclusively.
12 years ago
Andrew Waterman
fb107cce57
gcc: don't generate atomics when !TARGET_ATOMIC
12 years ago
Andrew Waterman
82b6ccde8f
glibc: initial port of glibc 2.20
12 years ago
Andrew Waterman
7ce82261f5
gcc: use init_array/fini_array
12 years ago
Andrew Waterman
e6846e05a7
binutils: initial binutils 2.24 port
12 years ago
Andrew Waterman
1743584a9e
gcc: support C11/C++11 atomics and GNU libatomic
12 years ago
Andrew Waterman
b6fc8167da
gcc: initial gcc 4.9.1 port
12 years ago