summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
AgeCommit message (Collapse)Author
2008-11-11Add support for position independent executables. This adds compile flagsKurt Miller
-fpie & -fPIE which are similar to -fpic & -fPIC except that the resulting objects can not be used in shared libraries due to an additional optimization for pie. This also adds the -pie link flag which produces a pie executable given pic or pie objects. Combining -pie with -static is currently disabled. The only gcc3 arch that doesn't support pie at moment is arm due to binutils relocation bugs. ok kettenis@
2008-11-11Enable support for debugging pie programs. Code from Elena Zannoni'sKurt Miller
<ezannoni at redhat dot com> pie branch in gdb cvs, less extraneous parts and with some bug fixes. Debugging w/core files for pie programs isn't working yet since AUXV data isn't included in our core files at the moment. feedback and ok kettenis@
2008-11-06add support for iso8859-13Martynas Venckus
2008-10-28Avoid infinite recursion in search_string_def() and search_pointer_def(),Miod Vallat
PR #5033; gcc 2.95 will need a similar fix (soon).
2008-10-12Remove hack from MM_Unix.pm and simply set man1dir to 'none' inTodd C. Miller
installperl to prevent man page installation of the perl man pages.
2008-10-08prevent access to output_paragraph with negative offset; PR 5518; okOtto Moerbeek
deraadt@
2008-10-07re-enable ieeefp mode on alpha again, now that the kernel code isMartynas Venckus
fixed. tested by me and naddy@. ok theo
2008-10-07Prevent cvs keyword expansion from causing a test failure.Todd C. Miller
2008-10-02Since we don't install libbfd anymore, don't install bfd.info.Mark Kettenis
requested by jmc@
2008-10-01Fix synopsis of "commit" command.Mark Kettenis
ok sthen@, xsa@, deraadt@
2008-10-01Add another change that got dropped in the merge of perl 5.10.0.Todd C. Miller
This time, add a comment describing why it is there.
2008-10-01re-apply change from rev 1.18Todd C. Miller
2008-09-30from mainline lynx; passed to us by bulibuta@sdf.lonestar.orgTheo de Raadt
2008-04-27 (2.8.7dev.9) * pass a newline after the start of PRE-section in HTGopher.c to force the first newline between records to be seen and cause the lines to split (report by Ciprian Dorin Craciun) -TD
2008-09-30Add back a change that got lost in the final merge.Todd C. Miller
We cannot mkdep DynaLoader.c since it is a generated file.
2008-09-30Remove a couple more bogus man pages and add missing MLINKs. TheTodd C. Miller
makewhatis info for the perl man pages now matches the pages themselves.
2008-09-29Remove bogus man pages and fix the NAME lines for many more.Todd C. Miller
2008-09-29fix conflicts and merge in local changes to perl 5.10.0Todd C. Miller
2008-09-29import perl 5.10.0 from CPANTodd C. Miller
2008-09-29Add a -mno-ieee option to disable ieee mode; ok millert@Miod Vallat
2008-09-16Terminate printing of auxilliary vector upon reaching the first AT_NULL.Mark Kettenis
2008-09-16Add support for reading ELF auxilliary vectors.Mark Kettenis
ok kurt@
2008-09-12Typo in description for log -r fixed.Tobias Stoeckmann
ok joris@
2008-09-03Provide our own calloc() since we provide our own malloc(), otherwise we won'tMiod Vallat
be able to link against libc_pic.a anyway.
2008-08-27exposed too much, only expose prototype outside ifdefMartynas Venckus
2008-08-27fix 128-bit division. gcc mangled arguments when passing to theMartynas Venckus
__udivti3, because MUST_PASS_IN_STACK always returned 1 on amd64; pr#5780 reported by Simon Kuhnle tested by Simon Kuhnle, sthen@, brad@ double-checked & tweak from miod@ ok sthen@, brad@
2008-08-22Don't install libbfd and libopcodes and the associated headers.Mark Kettenis
They really are just a way to share common code between gdb and binutils (which in the GNU world are seperate packages). The developers (and I'm one of them) make absolutely no effert to maintain a stable API/ABI. If ports people really need libbfd or libopcodes, they should just package a suitable version. ok weingart@, deraadt@
2008-07-09Incorporate Otto's yacc skeleton fix.Todd C. Miller
2008-06-25handle sparc64 seperately; ok miodTheo de Raadt
2008-06-13Fixup ldscripts for i386 when linked with -pie (no change to non-pieKurt Miller
ldscripts). Correct the xd and xdc ldscripts (pie and pie + combreloc) on i386 and add two new variants for pie + combreloc + Z and pie + Z on all arches. ok drahn@
2008-06-11Add a CVSROOT/config option "DisableMdocdate" (default:no) to turn offDamien Miller
the OpenBSD-specific Mdocdate expansion. This is useful to avoid conflicts that arise between the server's expansion of Mdocdate and the upstream code when maintaining forked OpenBSD derived code on an OpenBSD CVS server. "I must grudgingly agree that this is neccessary" deraadt@
2008-06-09Make gcc on alpha use -mieee by default. This fixes many FPE problemsMichael Erdely
with several ports on alpha and does not produce a significant slowdown. Suggestion to patch gcc directly from millert@ Diff and ok from miod@ ok pvalchev@, martin@, deraadt@
2008-05-29Revert 1.6 and reenable -fno-regmove for now -- it stroke back in sha1(1).Miod Vallat
2008-05-11If "cvs admin" encountered an entry in CVS/Entries for a file which has noTobias Stoeckmann
(longer an) RCS file in CVSROOT, both -- GNU cvs and OpenCVS -- segfaulted. ok joris
2008-05-08Due to the recent changes, it is no longer necessary to disable -fregmoveMiod Vallat
anymore.
2008-05-05enforce make -j1 in SDBM_File, there is a nasty race that's hard to fix.Marc Espie
okay millert@
2008-05-03add stmp-dirs to dependancy list, fixes a make -j issue seen on macppcDale Rahn
"looks okay" espie@
2008-04-25Prevent user asm statements from being put in delay slots, this avoidsMiod Vallat
warnings and/or unexpected operation when such statements are multi-insn macros, such as li/dli. Backported from gcc 3.3.6.
2008-04-25* PR rtl-optimization/13260Miod Vallat
``[3.4 Regression] Incorrect optimisation of loop termination condition'' This is a complete backport of this commit: 2003-12-04 J"orn Rennecke <joern.rennecke@superh.com> PR optimization/13260 * sh-protos.h (sh_expand_t_scc): Declare. * sh.h (PREDICATE_CODES): Add cmpsi_operand. * sh.c (cmpsi_operand, sh_expand_t_scc): New functions. * sh.md (cmpsi): Use cmpsi_operand. If T_REG is compared to something that is not a CONST_INT, copy it into a pseudo register. (subc): Fix description of new T value. (slt, sgt, sge, sgtu): Don't clobber T after rtl generation is over. (sltu, sleu, sgeu): Likewise. (seq, sne): Likewise. Use sh_expand_t_scc. * PR target/15886 ``[3.3/3.4/4.0 Regression] SH: Miscompilation with -O2 -fPIC'' This is a complete backport of this commit: 2004-06-11 J"orn Rennecke <joern.rennecke@superh.com> * sh.h (ALLOCATE_INITIAL_VALUE): Use return_address_pointer_rtx. * PR target/21255 ``%R and %S are not safe to use from asms'' This is a complete backport of this commit: 2005-08-31 J"orn Rennecke <joern.rennecke@st.com> PR target/21255 * sh.c (print_operand, %R and %S): Add handling of floating point registers, memory, constants and invalid operands. * Non PR - CAN_ELIMINATE() is modified to prevent fp -> sp elimination when a frame pointer needs to be preserved. I have serious reasons to think this will help propolice operation.
2008-04-25* PR target/11901Miod Vallat
``[3.3 only] set_fpscr isn't PIC even when __PIC__ defined; bad for prelinking, causes glibc-3.2.3 check-textrel test to fail'' Correctly address fpscr_values[] in set_fpscr() when compiled PIC. This is a partial backport of this commit: 2003-08-11 Kaz Kojima <kkojima@gcc.gnu.org> * config/sh/lib1funcs.asm (__udivdi3): Add .type and .size information in SHmedia case too. (__divdi3, __umoddi3, __moddi3, __init_trampoline, __ic_invalidate): Likewise. (__set_fpscr): Use an access via GOT for PIC case.
2008-04-25typoMiod Vallat
2008-04-25reg_renumber[] values are valid if >= 0, not > 0.Miod Vallat
2008-04-22I am so glad I'm a BSD developer.Miod Vallat
GNU developers wear grey. GNU developers use autoconf and friends to configure their software in the best possible way for the platform it is intended to run on. This frees us from the tedious job of, say, editing files hidden deep inside the sources to, say, tell the code that 64-bit platforms (you know, those which always define __LPA64__ and _LP64 among other things) have 64-bit integer types (one such platform even defines the completely unexpected symbol __mips64__.) GNU developers work much harder than we do, because they're so frightfully clever. I'm really awfully glad I'm a BSD developer.
2008-04-05don't force recreating directories in mklibgcc, this causes rebuilds duringMarc Espie
install. Prompted and tested by drahn@
2008-03-28Enable shared libraries on landisk.Dale Rahn
The sh architecture required some different linkage than most platforms, This fixes those other requirements.
2008-03-24msg_controllen has to be CMSG_SPACE so that the kernel can account forTheo de Raadt
each cmsg_len (ie. msg_controllen = sum of CMSG_ALIGN(cmsg_len). This works now that kernel fd passing has been fixed to accept a bit of sloppiness because of this ABI repair. lots of discussion with kettenis
2008-03-15This should set msg_control using CMSG_SIZE(), and not assume thatTheo de Raadt
sizeof(buffer) is the right size (alignments can mess it up). Code is apparently not used, but it is better if all examples show the correct idiom ok hshoexer
2008-03-13Add __data_start symbol to all ELF archs to consistently mark the beginningKurt Miller
of the writable sections. This is useful for garbage collectors such as boehm-gc to locate these sections in a uniform way. input and okay drahn@, miod@
2008-02-27fix a segfault in gnucvs that can occur with "checkout -c" if there isJoris Vink
an unknown flag specified in CVSROOT/modules. found by tobias@, ok millert@
2008-02-12Fix a few warnings, including an uninitialized variable in an error case.Miod Vallat
2008-02-10give method name of covariant return issue.Marc Espie
okay miod@