summaryrefslogtreecommitdiff
path: root/gnu
AgeCommit message (Collapse)Author
2000-04-06virgin perl 5.6.0Todd C. Miller
1999-04-29perl5.005_03Todd C. Miller
1999-04-29perl5.005_03Todd C. Miller
1996-08-19Import of Perl 5.003 into the tree. Makefile.bsd-wrapper andJason Downs
config.sh.OpenBSD are the only local changes.
2013-03-24Don't forget to put .plt padding in the BSS_PLT case; lost during the 2.15->2.17Miod Vallat
update.
2013-03-23Fix a bug in ld --gc-sections: it strips out .note sections, whileDavid Coppa
it should never do so. This can cause global constructors and destructors to not be executed at run-time, resulting in crashes and other strange behaviour. From FreeBSD: http://svnweb.freebsd.org/base?view=revision&revision=244600 This unbreaks building chromium with binutils-2.17 ok miod@, sthen@
2013-03-21Define LABELS_WITHOUT_COLONS under OpenBSD again.Miod Vallat
2013-03-21Define PLT_BEFORE_GOT.Miod Vallat
2013-03-21Don't set TEXT_PLT if PLT_BEFORE_GOT.Miod Vallat
2013-03-20Move the __openbsd_randomdata_{start,end} symbols outside of thePhilip Guenther
.openbsd.randomdata so that ld can cleanly suppress the program header slot for PT_OPENBSD_RANDOMIZE when it isn't needed...such as for /boot. The symbols probably can and should be removed completely, but until that can be tested this at least unblocks the 2.17 transition ok miod@ matthew@
2013-03-18Try harder putting .ctor and .dtor next to .got, to be able to have ld.soMiod Vallat
mprotect these sections RO as soon as they have been relocated; similar to what the W^X changes in 2.15 did.
2013-03-14allow groff users to build these docs; from J??r??mie Courr??ges-AnglasJason McIntyre
ok millert
2013-03-10Sync to ../binutils/Makefile.bsd-wrapper rev. 1.75:Miod Vallat
eplace a comment asking for a particular order to build stuff in by actual make rules to enforce that order. While here, correct the MANDIR which must no more contain "cat".
2013-03-10Let platforms configured to use binutils 2.17 still recurse into the binutilsMiod Vallat
2.15 directory, but only to build gdb. ok deraadt@ espie@
2013-03-09Bring back got and plt padding sections and special symbols from our changesMiod Vallat
to binutils 2.15. Do not preserve brain cells. Do not collect $20,000. Do not pass go. Do not keep your sanity.
2013-03-09Do not recurse into gprof/ and etc/ on OpenBSD. The former is providedMiod Vallat
elsewhere, and the latter only installs useless documentation about how configure scripts waste your time and resources, and the awfully ugly GNU coding standards which waste whitespace.
2013-03-06Apply patch from RedHat to address CVE-2013-1667, perl: DoS in rehashing codeJasper Lievisse Adriaanse
For more information please refer to: http://code.activestate.com/lists/perl5-porters/191311/ ok millert@
2009-10-12import perl 5.10.1Todd C. Miller
2003-12-03perl 5.8.2 from CPANTodd C. Miller
2013-02-19Remove m68k optimizer workaround.Brad Smith
ok miod@
2013-02-13Add support for .loc directive options basic_block, prologue_end, and ↵Brad Smith
epilogue_begin. Backported from binutils 2.17. ok miod@
2000-09-12Import binutils-2.10Marc Espie
- only the binutils package (no gdb here) - don't import libiberty and texinfo, they are elsewhere - remove all .info* generated files
2013-02-12Reenable the stack protector code, the last varargs change fixed the issue.Miod Vallat
2013-02-09Add CFI support for MIPS.Brad Smith
Backported from binutils 2.17. ok miod@
2013-02-09Port attribute (__used__) from gcc 3+ to gcc 2.95.Miod Vallat
2013-02-08Fix for CVE-2012-6329; from perl git via Sebastian TrahmTodd C. Miller
2013-02-08Replace the dummy definition of FUNCTION_ARG_PASS_BY_REFERENCE(). The newMiod Vallat
definition forces variable-sized types to always be passed by reference. Update the varargs code to cope with this. gcc.c-torture/execute/20020412-1 finally passes.
2013-02-08Stop providing our own EXPAND_BUILTIN_SAVEREGS(). Instead, do the necessaryMiod Vallat
RTL generation in SETUP_INCOMING_VARARGS(...,0). This means we no longer need to explicitely allocate room on the stack for the saved register area (which we did in EXPAND_BUILTIN_SAVEREGS). We were returning the correct size in SETUP_INCOMING_VARARGS's ``pretend_size'' argument anyway, causing this space to be allocated twice. This change should also allow for the stack protector to be reenabled (after more testing).
2013-02-06Make guess_is_rela() and dump_relocations() m88k-aware. Gets us rid of arcaneMiod Vallat
warnings caused by a maze of twisty little macros in the process, which appeared when m88k ELF support was added to the toolchain.
2013-02-06gcc3 configuration for OpenBSD/m68k/ELF. Apparently, with the ELF toolchainMiod Vallat
configuration, the wrong life analysis bug leading to removal of half the code of ISDOT() in libc's fts.c fts_stat() no longer triggers.
2013-02-06Apply the fix for gcc PR #9812, which fixes generation of XFmode (long double)Miod Vallat
code on m68k. In pure gcc tradition, even though the issue has been acknowledged as a bug introduced around gcc 2.5, it was considered as `not a regression' with subtle semantics tricks, and only fixed in 3.4.x although the fix was available for a long time. Although this changes an MI file, this chunk actually removes a no longer used function which was only ever used on m68k.
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2003-11-29Import gcc-3.3.2. Only the compiler. ada frontend removed for space Marc Espie
considerations.
2013-02-05Disable PIE-by-default if -static (or one of its aliases) is passed on theMark Kettenis
command line. While technically -static only controls whether we link against static libraries, people expect that doing so produces a fully static binary. tested by sthen@ ok pascal@, miod@
2013-02-03Stop as(1) from optimizing away R_X86_64_GOTPCREL relocations.Mark Kettenis
ok miod@
2013-02-03Sanitize LINK_SPEC for hppa64, making it identical to what we have on amd64Mark Kettenis
and i386. pointed out by miod@
2013-02-03Sanitize LINK_SPEC for hppa, making it identical to what we have on amd64 andMark Kettenis
i386. ok pascal@, miod@
2013-02-02The a.out rtld is no longer used.Miod Vallat
2013-02-02Compile stdexcepti.cc with -O0 on m68k when compiling it -fPIC to avoid an ICEMiod Vallat
in the compiler. Not investigated further since the compiler will hopefully get an upgrade soon.
2013-02-02ELF toolchain for m68k, following the SysV/m68k ABI (32-bit types aligned onMiod Vallat
32-bit boundaries, function return values being in %a0 instead of %d0 if they are declared as pointers, and in fp registers if they are floating point types). Compiler configuration bits (including a few m68k PIC code generation fixes) borrowed from NetBSD.
2013-01-31Enable shared libraries on m88k platforms.Miod Vallat
And there was much rejoicing.
2013-01-30Revert m88k.md 1.7 and m88k.c 1.27, 1.26 and 1.24 (partially) to restore theMiod Vallat
existing behaviour of wrapping big PIC addresses in `unspec's to prevent the cse pass from modifying them. However, instead of building the unspec ourselves in the C code, rely upon explicitely named define_insn() constructs in the .md description. Then, fix the ambiguity this introduces between the locate1 and movsi_high_pic insns by defining symbolic constants as the unspec selector, and using them, instead of 0.
2013-01-30Revert link-time resolution of R_88K_GOT_16[HL] modified in 1.5, but keep theMiod Vallat
error test. The logic was correct, I was tricked by bogus compiler generated assembly.
2013-01-28Correctly compute the relocation value of GOT_16[HL] relocations when they canMiod Vallat
be resolved at link time, such as when linking a binary from objects which have been compiled PIC (one such case being perl's miniperl). While there, borrow the check and error message for GOT_16[HL] with nonzero addend (which can only happen with badly crafted .s files and do not behave like one may naively think they do) from elf32-ppc.
2013-01-28Use symbolic_address_p() instead of simply checking whether GET_CODE() isMiod Vallat
SYMBOL_REF or LABEL_REF, when deciding to put #got_rel relocations. This allows (symbol + constant) to be correctly relocated when building PIC.
2013-01-27The removal of the wrapping of PIC symbol references in an UNSPEC vectorMiod Vallat
caused the code responsible for adding the proper #got_rel relocation to the second part of the PIC symbol address load. Instead of using an UNSPEC for that purpose (which violates assumptions made by the MI code anyway), check for the the second operand of a LO_SUM being either a SYMBOL_REF or a LABEL_REF, to output the #got_rel relocation, and drop the remaining bits of UNSPEC handling.
2013-01-24Fix unused local and missing initializer warnings.Miod Vallat
2013-01-24Get rid of a few warnings by pouring prototypes and punctuation.Miod Vallat
2013-01-23m88k_expand_prologue(): add a REG_MAYBE_DEAD note to the insns loading theMiod Vallat
PIC base register, it case it turns out to not be necessary. This should not be needed because this sequence is only generated if current_function_uses_pic_offset_table is set, but it can't hurt to expect the worse (from rs6000). legitimize_address(): do not coerce the address using (unspec:SI gen_rtvec() ), but rather use it unmodified, in the -fPIC case. This lets libstdc++.so build (and probably anything else being compiled with -fPIC rather than -fpic).
2013-01-20Enable multilib to build -fpic and -fPIC versions of libgcc.a, in addition toMiod Vallat
the fully static one. Update the compiler specs to allow for dynamic linking of libraries and binaries.