History log of /freebsd-10.0-release/contrib/binutils/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
259128 09-Dec-2013 gjb

Remove svn:mergeinfo from the releng/10.0 branch.

After branch creation from stable/10, the stable/10 branch mergeinfo
was moved to the root of the branch.

Since there have not been any merges from stable/10 to releng/10.0
yet, we do not need to track any of the existing mergeinfo here.

Merges to releng/10.0 should now be done to the root of the branch.

For future branches during the release cycle, unless otherwise noted,
this change will be done as part of the stable/ and releng/ branch
creation.

Discussed with: peter
Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


/freebsd-10.0-release/MAINTAINERS
/freebsd-10.0-release/Makefile.inc1
/freebsd-10.0-release/ObsoleteFiles.inc
/freebsd-10.0-release/UPDATING
/freebsd-10.0-release/bin/df
/freebsd-10.0-release/bin/freebsd-version
/freebsd-10.0-release/cddl
/freebsd-10.0-release/cddl/contrib/opensolaris
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/print
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zfs
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzfs
/freebsd-10.0-release/contrib/apr
/freebsd-10.0-release/contrib/apr-util
/freebsd-10.0-release/contrib/atf
/freebsd-10.0-release/contrib/binutils
/freebsd-10.0-release/contrib/bmake
/freebsd-10.0-release/contrib/byacc
/freebsd-10.0-release/contrib/bzip2
/freebsd-10.0-release/contrib/com_err
/freebsd-10.0-release/contrib/compiler-rt
/freebsd-10.0-release/contrib/dialog
/freebsd-10.0-release/contrib/dtc
/freebsd-10.0-release/contrib/ee
/freebsd-10.0-release/contrib/expat
/freebsd-10.0-release/contrib/file
/freebsd-10.0-release/contrib/gcc
/freebsd-10.0-release/contrib/gdb
/freebsd-10.0-release/contrib/gdtoa
/freebsd-10.0-release/contrib/groff
/freebsd-10.0-release/contrib/ipfilter
/freebsd-10.0-release/contrib/ipfilter/ml_ipl.c
/freebsd-10.0-release/contrib/ipfilter/mlfk_ipl.c
/freebsd-10.0-release/contrib/ipfilter/mlh_rule.c
/freebsd-10.0-release/contrib/ipfilter/mli_ipl.c
/freebsd-10.0-release/contrib/ipfilter/mln_ipl.c
/freebsd-10.0-release/contrib/ipfilter/mls_ipl.c
/freebsd-10.0-release/contrib/ldns
/freebsd-10.0-release/contrib/less
/freebsd-10.0-release/contrib/libarchive
/freebsd-10.0-release/contrib/libarchive/cpio
/freebsd-10.0-release/contrib/libarchive/libarchive
/freebsd-10.0-release/contrib/libarchive/libarchive_fe
/freebsd-10.0-release/contrib/libarchive/tar
/freebsd-10.0-release/contrib/libc++
/freebsd-10.0-release/contrib/libc-vis
/freebsd-10.0-release/contrib/libcxxrt
/freebsd-10.0-release/contrib/libexecinfo
/freebsd-10.0-release/contrib/libpcap
/freebsd-10.0-release/contrib/libstdc++
/freebsd-10.0-release/contrib/llvm
/freebsd-10.0-release/contrib/llvm/tools/clang
/freebsd-10.0-release/contrib/mtree
/freebsd-10.0-release/contrib/ncurses
/freebsd-10.0-release/contrib/netcat
/freebsd-10.0-release/contrib/ntp
/freebsd-10.0-release/contrib/nvi
/freebsd-10.0-release/contrib/one-true-awk
/freebsd-10.0-release/contrib/openbsm
/freebsd-10.0-release/contrib/openpam
/freebsd-10.0-release/contrib/openresolv
/freebsd-10.0-release/contrib/pf
/freebsd-10.0-release/contrib/sendmail
/freebsd-10.0-release/contrib/serf
/freebsd-10.0-release/contrib/smbfs
/freebsd-10.0-release/contrib/subversion
/freebsd-10.0-release/contrib/tcpdump
/freebsd-10.0-release/contrib/tcsh
/freebsd-10.0-release/contrib/tnftp
/freebsd-10.0-release/contrib/top
/freebsd-10.0-release/contrib/top/install-sh
/freebsd-10.0-release/contrib/tzcode/stdtime
/freebsd-10.0-release/contrib/tzcode/zic
/freebsd-10.0-release/contrib/tzdata
/freebsd-10.0-release/contrib/unbound
/freebsd-10.0-release/contrib/wpa
/freebsd-10.0-release/contrib/xz
/freebsd-10.0-release/crypto/heimdal
/freebsd-10.0-release/crypto/openssh
/freebsd-10.0-release/crypto/openssl
/freebsd-10.0-release/etc
/freebsd-10.0-release/etc/rc.d
/freebsd-10.0-release/gnu/lib
/freebsd-10.0-release/gnu/usr.bin/binutils
/freebsd-10.0-release/gnu/usr.bin/cc/cc_tools
/freebsd-10.0-release/gnu/usr.bin/gdb
/freebsd-10.0-release/include
/freebsd-10.0-release/lib
/freebsd-10.0-release/lib/libc
/freebsd-10.0-release/lib/libc/stdtime
/freebsd-10.0-release/lib/libc_nonshared
/freebsd-10.0-release/lib/libfetch
/freebsd-10.0-release/lib/libiconv_modules
/freebsd-10.0-release/lib/libsmb
/freebsd-10.0-release/lib/libthr
/freebsd-10.0-release/lib/libutil
/freebsd-10.0-release/lib/libvmmapi
/freebsd-10.0-release/lib/libyaml
/freebsd-10.0-release/lib/libz
/freebsd-10.0-release/release
/freebsd-10.0-release/release/doc
/freebsd-10.0-release/sbin
/freebsd-10.0-release/sbin/camcontrol
/freebsd-10.0-release/sbin/dumpon
/freebsd-10.0-release/sbin/hastd
/freebsd-10.0-release/sbin/ifconfig
/freebsd-10.0-release/sbin/ipfw
/freebsd-10.0-release/sbin/nvmecontrol
/freebsd-10.0-release/share
/freebsd-10.0-release/share/examples/bhyve
/freebsd-10.0-release/share/i18n/csmapper/JIS
/freebsd-10.0-release/share/i18n/esdb/EUC
/freebsd-10.0-release/share/man
/freebsd-10.0-release/share/man/man4
/freebsd-10.0-release/share/man/man4/bhyve.4
/freebsd-10.0-release/share/man/man5
/freebsd-10.0-release/share/man/man7
/freebsd-10.0-release/share/man/man8
/freebsd-10.0-release/share/misc
/freebsd-10.0-release/share/mk
/freebsd-10.0-release/share/mk/bsd.arch.inc.mk
/freebsd-10.0-release/share/syscons
/freebsd-10.0-release/share/zoneinfo
/freebsd-10.0-release/sys
/freebsd-10.0-release/sys/amd64/include/vmm.h
/freebsd-10.0-release/sys/amd64/include/vmm_dev.h
/freebsd-10.0-release/sys/amd64/include/vmm_instruction_emul.h
/freebsd-10.0-release/sys/amd64/include/xen
/freebsd-10.0-release/sys/amd64/vmm
/freebsd-10.0-release/sys/boot
/freebsd-10.0-release/sys/boot/i386/efi
/freebsd-10.0-release/sys/boot/ia64/efi
/freebsd-10.0-release/sys/boot/ia64/ski
/freebsd-10.0-release/sys/boot/powerpc/boot1.chrp
/freebsd-10.0-release/sys/boot/powerpc/ofw
/freebsd-10.0-release/sys/cddl/contrib/opensolaris
/freebsd-10.0-release/sys/conf
/freebsd-10.0-release/sys/contrib/dev/acpica
/freebsd-10.0-release/sys/contrib/dev/acpica/changes.txt
/freebsd-10.0-release/sys/contrib/dev/acpica/common
/freebsd-10.0-release/sys/contrib/dev/acpica/compiler
/freebsd-10.0-release/sys/contrib/dev/acpica/components/debugger
/freebsd-10.0-release/sys/contrib/dev/acpica/components/disassembler
/freebsd-10.0-release/sys/contrib/dev/acpica/components/dispatcher
/freebsd-10.0-release/sys/contrib/dev/acpica/components/events
/freebsd-10.0-release/sys/contrib/dev/acpica/components/executer
/freebsd-10.0-release/sys/contrib/dev/acpica/components/hardware
/freebsd-10.0-release/sys/contrib/dev/acpica/components/namespace
/freebsd-10.0-release/sys/contrib/dev/acpica/components/parser
/freebsd-10.0-release/sys/contrib/dev/acpica/components/resources
/freebsd-10.0-release/sys/contrib/dev/acpica/components/tables
/freebsd-10.0-release/sys/contrib/dev/acpica/components/utilities
/freebsd-10.0-release/sys/contrib/dev/acpica/include
/freebsd-10.0-release/sys/contrib/dev/acpica/os_specific
/freebsd-10.0-release/sys/contrib/ipfilter
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c
/freebsd-10.0-release/sys/contrib/ipfilter/netinet/ip_raudio_pxy.c
/freebsd-10.0-release/sys/contrib/libfdt
/freebsd-10.0-release/sys/contrib/octeon-sdk
/freebsd-10.0-release/sys/contrib/x86emu
/freebsd-10.0-release/sys/dev/bvm
/freebsd-10.0-release/sys/dev/fdt/fdt_ic_if.m
/freebsd-10.0-release/sys/dev/hyperv
/freebsd-10.0-release/sys/modules/hyperv
/freebsd-10.0-release/sys/modules/vmm
/freebsd-10.0-release/sys/x86/include/acpica_machdep.h
/freebsd-10.0-release/tools
/freebsd-10.0-release/tools/build
/freebsd-10.0-release/tools/build/options
/freebsd-10.0-release/tools/tools/atsectl
/freebsd-10.0-release/usr.bin/calendar
/freebsd-10.0-release/usr.bin/csup
/freebsd-10.0-release/usr.bin/iscsictl
/freebsd-10.0-release/usr.bin/procstat
/freebsd-10.0-release/usr.sbin
/freebsd-10.0-release/usr.sbin/bhyve
/freebsd-10.0-release/usr.sbin/bhyvectl
/freebsd-10.0-release/usr.sbin/bhyveload
/freebsd-10.0-release/usr.sbin/bsdconfig
/freebsd-10.0-release/usr.sbin/bsdinstall
/freebsd-10.0-release/usr.sbin/ctladm
/freebsd-10.0-release/usr.sbin/ctld
/freebsd-10.0-release/usr.sbin/freebsd-update
/freebsd-10.0-release/usr.sbin/jail
/freebsd-10.0-release/usr.sbin/mergemaster
/freebsd-10.0-release/usr.sbin/mount_smbfs
/freebsd-10.0-release/usr.sbin/ndiscvt
/freebsd-10.0-release/usr.sbin/pkg
/freebsd-10.0-release/usr.sbin/rtadvctl
/freebsd-10.0-release/usr.sbin/rtadvd
/freebsd-10.0-release/usr.sbin/rtsold
/freebsd-10.0-release/usr.sbin/zic
259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256112 07-Oct-2013 dim

Add support for assembling and disassembling Intel Random Number
Generator extensions (e.g. the 'rdrand' mnemonic) to our copy of
binutils.

Approved by: re (kib)
Obtained from: OpenBSD, via pfg
MFC after: 1 week


255982 02-Oct-2013 emaste

Use correct size for MIPS .rld_map section

On MIPS .dynamic is read-only and so a special section .rld_map is used
to store the pointer to the rtld information for debuggers. This
section had a hard coded size of 4 bytes which is not correct for
mips64. (Note that FreeBSD's rtld does not yet populate .rld_map.)

Sponsored by: DARPA, AFRL
Approved by: re (delphij)


255931 28-Sep-2013 dim

Fix a bug in ld, where indirect symbols are not handled properly during
linking of a shared library, leading to corrupt indexes in the dynamic
symbol table. This should fix the multimedia/ffmpegthumbnailer port.

Approved by: re (kib)
Reported by: swills
MFC after: 2 weeks


255874 26-Sep-2013 andrew

Add an elf note on ARM to store the MACHINE_ARCH an executable was built
for. This is useful for software needing to know which architecture a
binary is built for as arm and armv6 have slight differences meaning only
some binaries build for one will work as expected on the other. It is
expected pkgng will be able to make use of this to simplify the logic to
determine which package ABI to use.

Approved by: re (kib)


255522 13-Sep-2013 emaste

Improve readelf notes output for Linux ELF files

Add four ELF note constants:
- NT_FILE and NT_SIGINFO (core file notes output by recent Linux kernels)
- NT_GNU_ABI_TAG (was incorrectly reported as NT_VERSION)
- NT_GNU_BUILD_ID (used for locating standalone debug files)

Approved by: re (kib)


255192 03-Sep-2013 jhb

Add support for the 'invpcid' instruction to binutils and DDB's
disassembler on amd64.

MFC after: 1 month


254449 17-Aug-2013 andrew

Silence a warning that is incorrect on ARMv6 and later. In the smull, umull,
smlal, and umlal the output registers are allowed to be the same as either
input registers, where in ARMv4 and ARMv5 they could only be the same as the
last input register.


253839 31-Jul-2013 bapt

Change default behaviour of ld(1) to not recursively copy DT_NEEDED

This is the default behaviour of the newer binutils as well as most alternative linkers.
All the ports tree has been fixed to be able to link properly with this new behaviour.


253461 19-Jul-2013 emaste

Correct ELF note decoding for non-core files

Requested by: kib


253454 18-Jul-2013 emaste

Correct alignment in note output


253453 18-Jul-2013 emaste

Remove accidentally cut-and-pasted colons


253451 18-Jul-2013 emaste

Handle FreeBSD-specific ELF notes

Add a function to return the specific type, when the note's Name field is
'FreeBSD'.

r249558 added FreeBSD-specific ELF note types that reuse type numbers of
existing generic / Linux types. This caused 'readelf -n' to produce
incorrect output on FreeBSD core files.

Sponsored by: DARPA, AFRL
MFC after: 3 days


251665 12-Jun-2013 emaste

Handle DW_TAG_rvalue_reference_type

2012-05-21 Jim Ingham <jingham@apple.com>

* dwarf2read.c (process_die): Handle DW_TAG_rvalue_reference_type.
(read_type_die): Ditto.
(dwarf_tag_name): Ditto.

* elf/dwarf2.h: Add DW_TAG_rvalue_reference_type.

Obtained from: Apple, gdb-1820


251227 01-Jun-2013 pfg

Revert: Use time_t instead of long for archive timestamps.

Back out for now: this breaks the i386 build and requires some revision.


251225 01-Jun-2013 pfg

BFD: Use time_t instead of long for archive timestamps.

This basically follows the suggestion in the binutils code and is more
in line with what BSD ar(1) does.

Obtained from: OpenBSD
MFC after: 2 weeks.


250227 04-May-2013 jkim

Improve compatibility with recent flex from flex.sourceforge.net.


249603 18-Apr-2013 andrew

Fix the value of NT_FREEBSD_TAG to be the same as ABI_NOTRTYPE in lib/csu.
Add NT_FREEBSD_NOINIT_TAG for the value of CRT_NOINIT_NOTETYPE.
Check for both of these when detecting a FreeBSD binary in gdb.


248802 27-Mar-2013 dim

Similar to r239870 and r239872, teach the other binutils tools about the
DW_FORM_flag_present dwarf attribute, so they do not print errors or
warnings on files that contain it. (This attribute can be emitted by
newer versions of clang and gcc.)

MFC after: 1 week


248466 18-Mar-2013 andrew

do_vfp_vmrs and do_vfp_vmsr should not return anything.


248460 18-Mar-2013 andrew

Add support for the vmsr and vmrs instructions. This supports the system
level version of the instructions. When used in userland the hardware only
allows us to read/write FPSCR.


248459 18-Mar-2013 andrew

Some ARM vmov similar to 'vmov.f32 s1, s2' will incorrectly have the second
register added to the symbol table by the assembler. On further
investigation it was found the problem was with the my_get_expression
function. This is called by parse_big_immediate.

Fix this by moving the call to parse_big_immediate to the end of the if,
else if, ..., else block.


247386 27-Feb-2013 andrew

Clear the memory allocated to build the unwind tables. This fixes C++
exceptions on ARM EABI with static binaries.


247117 21-Feb-2013 jmg

reorder so all the flags are together and make the PCLMUL flag unique..

This fixes the problem on amd64 miscompiling mpboot.s causing boot
issues... We are still using gas for a few files in the kernel...

Submitted by: kib
MFC after: 1 month


247012 19-Feb-2013 jmg

add support for AES and PCLMULQDQ instructions to binutils...

Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though
OpenBSD's gcc is very different that it only helped w/ where to modify,
not how... Thanks to jhb for some early reviews...

Reviewed by: imp, kib
MFC after: 1 month


246312 04-Feb-2013 andrew

Extend GDB to check the value in the .note.tag section along with the
.note.ABI-tag section.

This helps on ARM EABI where the OS/ABI field is zero. It would be better
to use the NOTES program header however this would require a more invasive
change.


245952 26-Jan-2013 pfg

Clean some 'svn:executable' properties in the tree.

Submitted by: Christoph Mallon
MFC after: 3 days


244600 22-Dec-2012 dim

Fix a bug in ld --gc-sections: it strips out .note sections, while 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.

Reported by: rene
MFC after: 1 week


244274 15-Dec-2012 andrew

Recognise vfpv2 as a value for the ARM .fpu asm directive. Clang generates
these even when building soft floating-point code

Submitted by: Daisuke Aoyama <aoyama AT peach.ne.jp>


243933 06-Dec-2012 eadler

Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead.

This is part of a medium term project to permit deterministic builds of
FreeBSD.

Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Reviewed by: imp, toolchain@
Approved by: cperciva
MFC after: 2 weeks


239962 31-Aug-2012 dim

Fix a twelve year old bug in readelf: when process_dynamic_segment()
encounters a DT_RUNPATH entry, the global dynamic_info[] array is
overrun, causing some other global variable to be overwritten.

In my testcase, this was the section_headers variable, leading to
segfaults or jemalloc assertions when it was freed later on.

Thanks to Koop Mast for providing samples of a few "bad" .so files.

MFC after: 1 week


239870 29-Aug-2012 dim

Teach gdb about the DW_FORM_flag_present dwarf attribute, so it doesn't
error out on files that contain it. (This attribute can be emitted by
newer versions of clang.)

MFC after: 2 weeks


239272 15-Aug-2012 gonzo

Merging of projects/armv6, part 3

r238211:
Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb

This adds a new TARGET_ARCH for building on ARM
processors that support the ARMv6K multiprocessor
extensions. In particular, these processors have
better support for TLS and mutex operations.

This mostly touches a lot of Makefiles to extend
existing patterns for inferring CPUARCH from ARCH.
It also configures:
* GCC to default to arm1176jz-s
* GCC to predefine __FreeBSD_ARCH_armv6__
* gas to default to ARM_ARCH_V6K
* uname -p to return 'armv6'
* make so that MACHINE_ARCH defaults to 'armv6'
It also changes a number of headers to use
the compiler __ARM_ARCH_XXX__ macros to configure
processor-specific support routines.

Submitted by: Tim Kientzle <kientzle@freebsd.org>


238167 06-Jul-2012 jhb

Add support for the 'invept' and 'invvpid' instructions. Beyond simply
adding appropriate table entries, the assembler had to be adjusted as
these are the first non-SSE instructions to use a 3-byte opcode (and a
mandatory prefix to boot).

MFC after: 1 month


238123 04-Jul-2012 jhb

Add support for the 'xsave', 'xrstor', 'xsaveopt', 'xgetbv', and 'xsetbv'
instructions. I reimplemented this from scratch based on the Intel
manuals and the existing support for handling the fxsave and fxrstor
instructions. This will let us use these instructions natively with GCC
rather than hardcoding the opcodes in hex.

Reviewed by: kib
MFC after: 1 month


235133 07-May-2012 dim

Revert r234656, and apply a proper fix for binutils PR 10474, which
caused linking clang on 32-bit PowerPC to fail with "relocation
truncated to fit: R_PPC_REL24" errors.

Original diffs (relicensed under GPLv2 with permission from author):
http://sourceware.org/git/?p=binutils.git;a=commit;h=1fd262ff7d7ea5adf4894c6b960e092e7e43e3cd
http://sourceware.org/git/?p=binutils.git;a=commit;h=053c49fbff58bd33bd0d12200ea61302f92caceb

Tested by: andreast
MFC after: 1 week


227739 19-Nov-2011 andreast

Rename the linker emulation name for powerpc and powerc64. This is needed that
we can also use the upstream binutils linker where we have to have a unique
name for the FreeBSD emulation.


223758 04-Jul-2011 attilio

With retirement of cpumask_t and usage of cpuset_t for representing a
mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.

Remove them and replace their usage with custom pc_cpuid magic (as,
atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and
pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).

This change is not targeted for MFC because of struct pcpu members
removal and dependency by cpumask_t retirement.

MD review by: marcel, marius, alc
Tested by: pluknet
MD testing by: marcel, marius, gonzo, andreast


223484 23-Jun-2011 dim

Make GNU as recognize the ARM 'rrx' mnemonic, which can be generated by
clang for certain expressions. Code taken from Apple cctools (GPLv2).

Submitted by: damjan.marion@gmail.com


223262 18-Jun-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222813 07-Jun-2011 attilio

etire the cpumask_t type and replace it with cpuset_t usage.

This is intended to fix the bug where cpu mask objects are
capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever
value. Anyway, as long as several structures in the kernel are
statically allocated and sized as MAXCPU, it is suggested to keep it
as low as possible for the time being.

Technical notes on this commit itself:
- More functions to handle with cpuset_t objects are introduced.
The most notable are cpusetobj_ffs() (which calculates a ffs(3)
for a cpuset_t object), cpusetobj_strprint() (which prepares a string
representing a cpuset_t object) and cpusetobj_strscan() (which
creates a valid cpuset_t starting from a string representation).
- pc_cpumask and pc_other_cpus are target to be removed soon.
With the moving from cpumask_t to cpuset_t they are now inefficient
and not really useful. Anyway, for the time being, please note that
access to pcpu datas is protected by sched_pin() in order to avoid
migrating the CPU while reading more than one (possible) word
- Please note that size of cpuset_t objects may differ between kernel
and userland. While this is not directly related to the patch itself,
it is good to understand that concept and possibly use the patch
as a reference on how to deal with cpuset_t objects in userland, when
accessing kernland members.
- KTR_CPUMASK is changed and now is represented through a string, to be
set as the example reported in NOTES.

Please additively note that no MAXCPU is bumped in this patch, but
private testing has been done until to MAXCPU=128 on a real 8x8x2(htt)
machine (amd64).

Please note that the FreeBSD version is not yet bumped because of
the upcoming pcpu changes. However, note that this patch is not
targeted for MFC.

People to thank for the time spent on this patch:
- sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested
several revision of the patches and really helped in improving
stability of this work.
- marius fixed several bugs in the sparc64 implementation and reviewed
patches related to ktr.
- jeff and jhb discussed the basic approach followed.
- kib and marcel made targeted review on some specific part of the
patch.
- marius, art, nwhitehorn and andreast reviewed MD specific part of
the patch.
- marius, andreast, gonzo, nwhitehorn and jceel tested MD specific
implementations of the patch.
- Other people have made contributions on other patches that have been
already committed and have been listed separately.

Companies that should be mentioned for having participated at several
degrees:
- Yahoo! for having offered the machines used for testing on big
count of CPUs.
- The FreeBSD Foundation for having sponsored my devsummit attendance,
which has been instrumental.
- Sandvine for having offered offices and infrastructure during
development.

(I really hope I didn't forget anyone, if it happened I apologize in
advance).


222558 01-Jun-2011 jchandra

Add .interp back into INITIAL_READONLY_SECTIONS in MIPS n64 ABI.

The binutils update in r218822 caused the MIPS n64 dynamic binaries to
fail because the ".interp" section is not in the initial sections.
This happens because elf64bmip-defs.sh overrides INITIAL_READONLY_SECTIONS
to add ".MIPS.options" sections instead of the ".reginfo" section used
by n32.
This used to work fine, but after r218822, INITIAL_READONLY_SECTIONS also
contains the .interp section, so the override has to be done differently.

Reported by : aduane at juniper

Obtained from: gonzo (Initial version)


222206 22-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222205 22-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


222204 22-May-2011 benl

Fix clang warnings.

Approved by: philip (mentor)


219530 11-Mar-2011 marius

In the upstream rev. 1.61 of elf64-sparc.c the following bug was fixed:

* elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
dynamic relocs against section symbols for the output section vma.

However, with the addition of TLS support in the upstream rev. 1.104
this fix was essentially reverted. After factoring out the common parts
of elf32-sparc.c and elf64-sparc.c a comment was added to elfxx-sparc.c
in the upstream rev. 1.27 as part of unrelated changes, saying that the
fix from elf64-sparc.c rev. 1.61 indeed should be implemented, but given
that some unspecified OS has a broken ld.so expecting broken relocations
deliberately is omitted.
As the current behavior actually violates the SPARC ABI, FreeBSD never
had such a broken ld.so and this is actually causing problems with at
least kernel modules linked with binutils 2.17.50 committed in r218822
without the workaround committed in r219340 in place, re-implement the
above fix in a way so that is only applied if the output format is
ELFOSABI_FREEBSD. In the upstream version it probably would make sense
to invert this check and only skip adjusting the addend for the OS with
the broken ld.so, once it's determine which one that is.

Approved by: dim


218822 18-Feb-2011 dim

Merge binutils 2.17.50 to head. This brings a number of improvements to
x86 CPU support, better support for powerpc64, some new directives, and
many other things. Bump __FreeBSD_version, and add a note to UPDATING.

Thanks to the many people that have helped to test this.

Obtained from: projects/binutils-2.17


217395 14-Jan-2011 kib

On PowerPC64, linker emits a fake object into each linked object,
'linker stubs'. Add .note.GNU-stack for the stubs objects. Without this,
final binary will have RWE mode for PT_GNU_STACK regardless of the
actual requirements.

Tested by: nwhitehorn
Reviewed by: dim, nwhitehorn


217394 14-Jan-2011 kib

Add a workaround for the warnings and sometimes errors due to missed
forward-declaration.

Reviewed by: dim


215679 22-Nov-2010 attilio

Add the ability for GDB to printout the thread name along with other
thread specific informations.

In order to do that, and in order to avoid KBI breakage with existing
infrastructure the following semantic is implemented:
- For live programs, a new member to the PT_LWPINFO is added (pl_tdname)
- For cores, a new ELF note is added (NT_THRMISC) that can be used for
storing thread specific, miscellaneous, informations. Right now it is
just popluated with a thread name.

GDB, then, retrieves the correct informations from the corefile via the
BFD interface, as it groks the ELF notes and create appropriate
pseudo-sections.

Sponsored by: Sandvine Incorporated
Tested by: gianni
Discussed with: dim, kan, kib
MFC after: 2 weeks


215256 13-Nov-2010 imp

Default to little endian output when building for little endian. This
got lost as a result of a mismerge a few months back and I didn't
notice until I collapsed tbemd into -head.

Submitted by: similar patch by kan@


215105 11-Nov-2010 cperciva

Zero the buffer containing the .gnu_debuglink section before writing
into it. Prior to this commit the .gnu_debuglink section can have up
to 3 bytes of uninitialized garbage; as a result, .ko files could
change vary between builds.

Approved by: dim
MFC after: 7 days


214950 07-Nov-2010 gonzo

Prevent endless loop by detecting broken MIPS.options


213989 17-Oct-2010 dim

Bootstrap merge history for binutils.


213274 29-Sep-2010 rpaulo

Add support for the BFD target efi-app-x86_64.

This uses only GPL2 source code and is a requirement for a 64 bit EFI
boot loader.


210245 19-Jul-2010 avg

binutils/ld: fix incorrect placement of __start_SECNAME in some cases

__start_SECNAME and __stop_SECNAME symbols are automatically generated
by ld for orphan sections, i.e. those not explicitely referenced by a
linker script. The symbols are supposed to be placed correspondingly
at the start and the end of the section in output file. In some cases
__start_SECNAME may be placed at the address after the end of the
previous section (if any) and before the start the section. This
happens when following conditions are met:
1. the orphan section is found in more than one input file
2. the orphan section has different alignment requirements across input
files
3. the first instance of the section encountered doesn't have the
greatest alignment requirement
In these conditions resulting output section will be placed at address
after the end of the previous section aligned to the greatest alignment
requirement in the inputs, but __start_SECNAME will be placed at address
after the end of the previous section aligned to the alignment
requirement of the first input in which the section is encountered.

See commit message of r196118 for a concrete example of problems caused
by this bug.

The fix is to place __start_SECNAME inside the section and use ABSOLUTE
directive, rather than placing __start_SECNAME outside the section and
trying to guess address alignment.

This fix is in line with upstream binutils change/fix made between
versions 2.19 and 2.20 in revision of 1.307 ldlang.c.

MFC after: 3 weeks


209867 10-Jul-2010 nwhitehorn

Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes
a variety of bugs in binutils related to handling of 64-bit PPC ELF,
provides a GCC configuration for 64-bit PowerPC on FreeBSD, and
associated build systems tweaks.

Obtained from: projects/ppc64


209413 22-Jun-2010 avg

readelf.1: remove duplicate -u/--unwind option description

MFC after: 2 weeks


208737 02-Jun-2010 jmallett

Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.

o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default
ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is
the current default.
o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is
necessary to have a working "cc" if e.g. mips64 is specified, as binutils
will refuse to link objects using different ISAs in some cases.
o) Add support for n32 and n64 ABIs to binutils and GCC.
o) Add additional required libgcc2 stubs for n32 and n64.
o) Add support for the "mips64r2" architecture to GCC. Add the "octeon"
o) When static linking, wrap default libraries in --start-group and
--end-group. This is required for static linking to work on n64 with the
interdependencies between libraries there. This is what other OSes that
support n64 seem to do, as well.
o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the
former being what libgcc, etc., check and the latter seemingly being a
misspelling of a hand merge from a Linux spec.
o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default
ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit
ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to
the MIPS32 ISA, when we are supporting or will support some systems based on
earlier 32-bit and 64-bit ISAs, most notably MIPS-III.
o) Merge a new opcode file (and support code) from a later version of binutils
and add flags and code necessary to support Octeon-specific instructions.
This should also make merging opcodes for other modern architectures easier.

Reviewed by: imp


206619 14-Apr-2010 imp

Add armeb-*-freebsd* to the list of known architectures. This is like
arm-*-freebsd*, except it defaults to big endian builds instead of
little endian builds.


185925 11-Dec-2008 imp

Push mips support into the tree.


179407 29-May-2008 obrien

Bring these back to HEAD.
(I thought ncvs@ had rm'ed these MIPS files a long time ago... SVN had
better work out - else 7 more files off the vendor branch.)


179405 29-May-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r179404,
which included commits to RCS files with non-trunk default branches.


175791 29-Jan-2008 obrien

This commit was generated by cvs2svn to compensate for changes in r175790,
which included commits to RCS files with non-trunk default branches.


173874 23-Nov-2007 jb

Fix strict alias warnings.


168434 06-Apr-2007 kan

This commit was generated by cvs2svn to compensate for changes in r168433,
which included commits to RCS files with non-trunk default branches.


159400 08-Jun-2006 marius

This commit was generated by cvs2svn to compensate for changes in r159399,
which included commits to RCS files with non-trunk default branches.


147825 07-Jul-2005 obrien

This commit was generated by cvs2svn to compensate for changes in r147824,
which included commits to RCS files with non-trunk default branches.


131723 06-Jul-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r131722,
which included commits to RCS files with non-trunk default branches.


130570 16-Jun-2004 obrien

Update HEAD with the stock binutils_2_15_20040523 file.


130567 16-Jun-2004 obrien

Blah, these came back. Use a bigger hammer.


130566 16-Jun-2004 obrien

Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.15.


130565 16-Jun-2004 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints) into
Binutils 2.15.


130564 16-Jun-2004 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.15.


130563 16-Jun-2004 obrien

Merge our ELF branding into Binutils 2.15.


130562 16-Jun-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r130561,
which included commits to RCS files with non-trunk default branches.


127106 17-Mar-2004 obrien

This commit was generated by cvs2svn to compensate for changes in r127105,
which included commits to RCS files with non-trunk default branches.


115361 28-May-2003 obrien

From FSF Binutils CVS repo:
2003-04-09 Richard Henderson <rth@redhat.com>
* elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Ignore relocations against r_symndx == 0.

Requested by: kris,re(scottl)


111757 02-Mar-2003 obrien

This commit was generated by cvs2svn to compensate for changes in r111756,
which included commits to RCS files with non-trunk default branches.


107500 02-Dec-2002 obrien

Update HEAD with the stock files.


107499 02-Dec-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into the Binutils 2.13.2 20021128 snap.


107497 02-Dec-2002 obrien

Remove our custom ELF branding -- we have moved to our own ELF vectors
that DTRT.


107496 02-Dec-2002 obrien

Merge our ELF branding into Binutils 2_13_2_20021127 snapshot.


107495 02-Dec-2002 obrien

GC some stuff I thought was long gone.


107493 02-Dec-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r107492,
which included commits to RCS files with non-trunk default branches.


107491 02-Dec-2002 obrien

Try to keep CVS from pissing over the next binutils import by returning
to purely stock files.


104872 11-Oct-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r104871,
which included commits to RCS files with non-trunk default branches.


104859 11-Oct-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r104858,
which included commits to RCS files with non-trunk default branches.


104849 11-Oct-2002 obrien

Use the stock version of this.


104848 11-Oct-2002 obrien

Bring the binutils_2_13_20021110 snap version of this to the HEAD branch.


104847 11-Oct-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.13.1 snap.


104846 11-Oct-2002 obrien

Bring the binutils_2_13_20021110_snap version of this to the HEAD branch.


104845 11-Oct-2002 obrien

Bring the 2.13 snap version of this to the HEAD branch.


104844 11-Oct-2002 obrien

Use the stock 2.13.1 snapshot version of this.


104843 11-Oct-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.13_20021110 snap.


104842 11-Oct-2002 obrien

We use the stock version of this file.


104841 11-Oct-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.13_20021110.


104840 11-Oct-2002 obrien

Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.13_20021110 snap.


104839 11-Oct-2002 obrien

On second thought, garbage collect the OLD_BRANDELF_METHOD. FreeBSD 5.0
is a good point to break from this historical ABI-breaking method.


104838 11-Oct-2002 obrien

Merge our ELF branding into Binutils 2_13_20021011 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))


104837 11-Oct-2002 obrien

Use the vendor's 2.13.1_snap vendor version of this file as in rev 1.5.


104836 11-Oct-2002 obrien

We use the stock version of this file as in rev 1.4.


104835 11-Oct-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r104834,
which included commits to RCS files with non-trunk default branches.


102776 01-Sep-2002 obrien

Remove these Bintuils 2.11 files that aren't part of 2.12.


102735 31-Aug-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020720.


102730 31-Aug-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r102729,
which included commits to RCS files with non-trunk default branches.


99471 05-Jul-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020622 snap.


99470 05-Jul-2002 obrien

Use the stock 2.12.1 snapshot version of this.


99469 05-Jul-2002 obrien

Use the stock version of this.


99468 05-Jul-2002 obrien

Bring the binutils_2_12_20020622 snap version of this to the HEAD branch.


99467 05-Jul-2002 obrien

We use the stock version of this file as in rev 1.4.


99466 05-Jul-2002 obrien

We use the stock version of this file.


99465 05-Jul-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.


99464 05-Jul-2002 obrien

Merge our ELF branding into Binutils 2.12_20020622 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))


99462 05-Jul-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r99461,
which included commits to RCS files with non-trunk default branches.


94548 12-Apr-2002 obrien

Use the stock 2.12 snapshot version of this.


94547 12-Apr-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020410 snap.


94546 12-Apr-2002 obrien

Bring the binutils_2_12_20020410 snap version of this to the HEAD branch.


94545 12-Apr-2002 obrien

Merge the stock 2.12.0 snap version.


94544 12-Apr-2002 obrien

Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020410 snap.


94543 12-Apr-2002 obrien

Merge rev 1.8 ("ELF_DYNAMIC_INTERPRETER") into Binutils 2.12_20020410 snap.


94542 12-Apr-2002 obrien

Merge our ELF branding into Binutils 2.12_20020410 snapshot.


94537 12-Apr-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r94536,
which included commits to RCS files with non-trunk default branches.


92841 20-Mar-2002 obrien

Manpages moved into doc/ for 2.12.


92835 20-Mar-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12.0.


92834 20-Mar-2002 obrien

Use the stock version of this.


92833 20-Mar-2002 obrien

Bring the 2.12.0 release version of this to the HEAD branch.


92831 20-Mar-2002 obrien

Commit the stock 2.12.0 release version.


92829 20-Mar-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r92828,
which included commits to RCS files with non-trunk default branches.


92216 13-Mar-2002 obrien

Add note about genscripts.sh.


92203 13-Mar-2002 obrien

Remove bogon from bad merge.


91056 22-Feb-2002 obrien

Explain how I did the binutils_2_12_anoncvs_20020221 import.


91055 22-Feb-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12_20020221_snap.


91054 22-Feb-2002 obrien

Bring the binutils_2_12_20020221_snap version of this to the HEAD branch.


91053 22-Feb-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into
Binutils 2.12_20020221_snap.


91052 22-Feb-2002 obrien

Use the stock (2.12_20020221_snap) version of this.


91051 22-Feb-2002 obrien

Use the stock version of this.


91050 22-Feb-2002 obrien

Use the vendor's 2.12_20020221_snap version of this file as in rev 1.4.


91049 22-Feb-2002 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12_20020221_snap.


91048 22-Feb-2002 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12_20020221_snap.


91047 22-Feb-2002 obrien

Merge our ELF branding into Binutils 2.12_20020221_snap.


91042 22-Feb-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r91041,
which included commits to RCS files with non-trunk default branches.


90950 20-Feb-2002 obrien

Reflect the rename of the vendor branch.


89914 28-Jan-2002 obrien

The list of not-wanted and needed files for the binutils_anoncvs_20020127
import.


89913 28-Jan-2002 obrien

Explain how I did the binutils_anoncvs_20020127 import.


89872 27-Jan-2002 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.12.0_snap.


89871 27-Jan-2002 obrien

Bring the binutils_2_12_cvs_20020127 version of this to the HEAD branch.


89870 27-Jan-2002 obrien

Use the stock 2.12.0_snap version of this.


89869 27-Jan-2002 obrien

Merge rev 1.2 (FreeBSD a.out configuration support) into Binutils 2.12.0_snap.


89868 27-Jan-2002 obrien

Bring the binutils_2_12_cvs_20020127 version of this to the HEAD branch.


89867 27-Jan-2002 obrien

Bring the binutils_2_12_cvs_20020125 version of this to the HEAD branch.


89866 27-Jan-2002 obrien

Use the stock 2.12.0_snap version of this now.


89865 27-Jan-2002 obrien

Use the vendor's 2.12.0_snap vendor version of this file as in rev 1.5.


89864 27-Jan-2002 obrien

Use the vendor's 2.12.0_snap version of this file as in rev 1.4.


89863 27-Jan-2002 obrien

Commit the stock 2.12.0_snap version.


89862 27-Jan-2002 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.12.0_snap.


89861 27-Jan-2002 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.12.0_snap.


89860 27-Jan-2002 obrien

Merge our ELF branding into Binutils 2.12.0_snap.


89858 27-Jan-2002 obrien

This commit was generated by cvs2svn to compensate for changes in r89857,
which included commits to RCS files with non-trunk default branches.


88238 20-Dec-2001 peter

This commit was generated by cvs2svn to compensate for changes in r88237,
which included commits to RCS files with non-trunk default branches.


85825 01-Nov-2001 obrien

Update to the latest vendor's file.


85824 01-Nov-2001 obrien

Bring the binutils_2_11_cvs_20011031 version of this to the HEAD branch.


85823 01-Nov-2001 obrien

This merges in the changes from the FSF 19-July-2001 snapshot to the
2001 Halloween snapshot.


85822 01-Nov-2001 obrien

This merges in the changes from the FSF anoncvs 19-July-2001 snapshot to
the 2001 Halloween snapshot.


85821 01-Nov-2001 obrien

Update to the latest vendor's file.


85820 01-Nov-2001 obrien

Update to the latest vendor file.


85816 01-Nov-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r85815,
which included commits to RCS files with non-trunk default branches.


84866 13-Oct-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r84865,
which included commits to RCS files with non-trunk default branches.


80509 28-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r80508,
which included commits to RCS files with non-trunk default branches.


80018 20-Jul-2001 obrien

This merges in the changes from the 2.11.2 release to the FSF anoncvs
19-July-2001 snapshot.


80017 20-Jul-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r80016,
which included commits to RCS files with non-trunk default branches.


80015 20-Jul-2001 obrien

Update for the Bintuils 2.11.2 import.


78845 26-Jun-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r78844,
which included commits to RCS files with non-trunk default branches.


78841 26-Jun-2001 obrien

Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.11.2.


78840 26-Jun-2001 obrien

We use the stock (2.11.2) version of this now.


78839 26-Jun-2001 obrien

Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11.2.


78838 26-Jun-2001 obrien

We use the stock (2.11.2) version of this file now.


78837 26-Jun-2001 obrien

Use the stock (2.11.2) version of this now.


78836 26-Jun-2001 obrien

Use the vendor's 2.11.2 version of this file as in rev 1.4.


78835 26-Jun-2001 obrien

Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.11.2.


78834 26-Jun-2001 obrien

Really wish this could back on the vendor branch...
Commit the stock 2.11.2 version.


78833 26-Jun-2001 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11.2.


78832 26-Jun-2001 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11.2.


78831 26-Jun-2001 obrien

Merge our ELF branding into Binutils 2.11.2.


78829 26-Jun-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r78828,
which included commits to RCS files with non-trunk default branches.


77357 28-May-2001 obrien

Update for the Bintuils 2.11.0 import.


77319 28-May-2001 obrien

Merge rev 1.2 into Binutils 2.11[.0].
Teach `ld' how to access FreeBSD's ld ELF hints.


77318 28-May-2001 obrien

We use the stock version of this file now.
I committed our rev 1.2 (start symbol) and 1.3 (max pagesize) fixes into
the FSF/GNU source tree.


77317 28-May-2001 obrien

We use the stock version of this file.


77316 28-May-2001 obrien

We use the stock version of this file now.
I committed all the new FreeBSD platform support (PPC, StrongARM, Sparc64)
into the FSF/GNU tree.


77315 28-May-2001 obrien

Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11[.0].


77313 28-May-2001 obrien

Use the stock version of this file now.
I committed our rev 1.2 fix into the FSF/GNU tree.


77312 28-May-2001 obrien

We use the stock version of this file now.
I folded our rev 1.2 localizations into the FSF/GNU tree.


77311 28-May-2001 obrien

Return to the vendor's version of this file.


77310 28-May-2001 obrien

Add a minor tweak for us that I failed to get committed to the stock 2.11.


77309 28-May-2001 obrien

Return to the vendor's version of this file.

(have I mentioned how fscking stupid CVS can be??)


77308 28-May-2001 obrien

Return to the vendor's version of this file.

(CVS -j -j filled this with conflicts -- CVS it just too fscking dumb
to realize this is the 3rd time we've just committed the vendor
version + FreeBSD ID)


77307 28-May-2001 obrien

Return to the vendor's version of this file as in rev 1.4.
(CVS is too stupid to realize we've done this 3 times now...)


77304 28-May-2001 obrien

CVS is too stupid to realize we use the stock version of this file now.


77303 28-May-2001 obrien

Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11[.0].


77302 28-May-2001 obrien

Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11[.0].


77301 28-May-2001 obrien

Merge our ELF branding into Binutils 2.11[.0].
I have also turned off the older 100% against-the-gABI method[*].
If you must really have it, define "WANT_OLD_BRANDELF_METHOD".

[*] but left the stretching the gABI method until I finish writing the
notes section support in the ELF image loader.


77299 28-May-2001 obrien

This commit was generated by cvs2svn to compensate for changes in r77298,
which included commits to RCS files with non-trunk default branches.


76232 03-May-2001 obrien

* include/elf.h has been repo copied to include/elf-hints.h, and it no
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.

This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.


75400 11-Apr-2001 obrien

Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.


75399 10-Apr-2001 obrien

Removed these old 2.9.x files.


69181 26-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r69180,
which included commits to RCS files with non-trunk default branches.


69160 25-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r69159,
which included commits to RCS files with non-trunk default branches.


69158 25-Nov-2000 obrien

Remove binutils 2.9.1 files that are not part of 2.10.x.


69157 25-Nov-2000 obrien

Remove binutils 2.9.1 files that are not part of 2.10.x.


69132 25-Nov-2000 obrien

Remove this binutils 2.8.1 file that was never part of any FreeBSD release.


69131 25-Nov-2000 obrien

Remove this binutils 2.8.1 file that was never part of any FreeBSD release.


69091 23-Nov-2000 obrien

Update for the Bintuils 2.10.1 import.


68779 15-Nov-2000 obrien

dyn-string.* moved to libiberty/ and include/.


68778 15-Nov-2000 obrien

Merge rev 1.2 into Binutils 2.10.1.

Teach `ld' about FreeBSD (ie, fix the All the World's Linux) and how to
access our ld ELF hints.


68777 15-Nov-2000 obrien

Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
and preliminary sparc, strongarm, PPC FreeBSD support to Binutils 2.10.1.


68776 15-Nov-2000 obrien

Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.10.1.


68775 15-Nov-2000 obrien

Merge conflicts into Binutils 2.10.1.
This fixes the i386 config bits, merge in the Alpha bits, and adds
arm32 & sparc bits.


68774 15-Nov-2000 obrien

We use the stock version of this file now.


68773 15-Nov-2000 obrien

Return to the vendor's version of this file as in rev 1.4.


68771 15-Nov-2000 obrien

We use the stock version of this file now.
(Our needs have been addressed by the Binutils maintainers)


68770 15-Nov-2000 obrien

Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.

FreeBSD does not adhear to the System V 64-bit ABI for the dynamic
[linker] interpreter, and thus must override this value.


68769 15-Nov-2000 obrien

Only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined elsewhere.

FreeBSD does not adhear to the Intel386 System V ABI for the dynamic
[linker] interpreter, and thus must override this value.


68767 15-Nov-2000 obrien

Merge our ELF branding into Binutils 2.10.1.


68766 15-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68765,
which included commits to RCS files with non-trunk default branches.


68674 13-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68673,
which included commits to RCS files with non-trunk default branches.


68672 13-Nov-2000 obrien

remove files not needed.


68671 13-Nov-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r68670,
which included commits to RCS files with non-trunk default branches.


62687 06-Jul-2000 obrien

Upgrade to Binutils 2.10.0.


61851 20-Jun-2000 obrien

Merge conflicts. Adds revs 1.2 and 1.3 (FreeBSD configuration support),
and preliminary sparc, strongarm, PPC FreeBSD support.


61850 20-Jun-2000 obrien

Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits,
and adds arm32 & sparc bits.


61849 20-Jun-2000 obrien

Merge conflicts. This fixes the i386 config bits, merge in the Alpha bits,
and adds arm32 & sparc bits.


61848 20-Jun-2000 obrien

Binutils now properly supports our ELFness with this file.
(use the stock file now that it is offically part of Binutils)


61847 20-Jun-2000 obrien

Use the stock file now. The Binutils maintainers accepted our rev 1.2
changes (don't use "/" to start a comment).


61846 20-Jun-2000 obrien

Merge in our rev 1.2 changes (but do it in a way the Binutils maintainers
accepted): Restore traditional behavior by acknowledging tabs in strings.


61845 20-Jun-2000 obrien

Merge in our ELF branding.


61844 20-Jun-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r61843,
which included commits to RCS files with non-trunk default branches.


61841 20-Jun-2000 obrien

None of these files are used in our build, nor do I really believe
anyone is going to read them. Many were new with the
"sourceware_binutils-2_10-branch_anoncvs_20000512" import. Others have
been around since 2.8.1.


61840 20-Jun-2000 obrien

Remove these Binutils 2.8.1 files.


61808 18-Jun-2000 obrien

Upgrade instructions for the sourceware_binutils-2_10-branch_anoncvs_20000512
Binutils import.


61807 18-Jun-2000 obrien

List of files to delete from the Sourceware Binutils' CVS 2_10-branch
on 12-May-2000.


61806 18-Jun-2000 obrien

List of distfile contents to delete using `rm' and `find -delete'.
Simular to the FREEBSD-Xlist used with `tar -X ... -xf'.
This file is typically used when one starts with the Binutils anoncvs repo
rather than a release tarball.


60530 13-May-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r60529,
which included commits to RCS files with non-trunk default branches.


60526 13-May-2000 obrien

Merge rev 1.2 (configuration changes to support FreeBSD)


60525 13-May-2000 obrien

Merge in rev 1.2 (ld was kinly looking up the Linux /etc/ld.so.conf so teach
it about the FreeBSD equivalent) This version of that patch selects the
Linux code only if the case is Linux. This puts the Linux code on par with
the FreeBSD code.


60524 13-May-2000 obrien

Tweaks for i386, add alpha, ppc, sparc, and strongarm support.


60523 13-May-2000 obrien

Use the stock vendor version of this file now.


60522 13-May-2000 obrien

Merge in revs 1.2 and 1.3 (FreeBSD configuration support)
Add preliminary sparc, strongarm, PPC FreeBSD support.


60521 13-May-2000 obrien

Merge in rev 1.2 (FreeBSD configuration support)


60520 13-May-2000 obrien

Merge in rev 1.2 (balance the brackets; PR-docs/8505)


60519 13-May-2000 obrien

Merge in rev 1.2 (don't use "/" to start a comment).


60518 13-May-2000 obrien

Merge in rev 1.2 which provides some FreeBSD a.out support.


60517 13-May-2000 obrien

Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.


60516 13-May-2000 obrien

Fix the i386 config bits, merge in the Alpha bits, and add arm32 and
sparc bits.


60515 13-May-2000 obrien

Return to the vendor's version of this file.


60514 13-May-2000 obrien

Return to the vendor's version of this file as in rev 1.4.


60513 13-May-2000 obrien

Merge in our rev 1.2 changes: Restore traditional behavior by acknowledging
tabs in strings.


60512 13-May-2000 obrien

Return this file to the vendor's file.


60511 13-May-2000 obrien

Return this file back to the stock version.
The big fixed in rev 1.2 has also been fixed by the Bintuils maintainers.


60510 13-May-2000 obrien

Merge in rev 1.3 changes (Make the default dynamic linker pathname correct
for FreeBSD.)


60509 13-May-2000 obrien

Merge in rev 1.4 changes (Make the default dynamic linker pathname correct
for FreeBSD.)


60508 13-May-2000 obrien

Merge in our ELF branding.


60485 12-May-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r60484,
which included commits to RCS files with non-trunk default branches.


59431 20-Apr-2000 obrien

Revert this file back to its FSF/Cygnus virgin state.
With jb's rev 1.2 commit to usr.bin/lorder/lorder.sh we don't depend on
the 4.4BSD's ``nm -o'' behavior.

Previous to 4.3BSD-Reno, ``nm -o'' did not output the .o's filename on a
line by itself. The change occurred between CSRG's nm.c rev 4.8 (1987) and
rev 5.1 (in 1989), which was "new version from Hans Huebner hans@garp.mit.edu,
huebner@db0tui6.BITNET". The Binutils maintainers would rather cater to
a loud boisterous user of 4.3BSD VAXen which has its own native toolchain,
rather than a modern Unix with multiple orders of magnitude more users
and in which Binutils *is* the native toolchain.


59397 19-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59396,
which included commits to RCS files with non-trunk default branches.


59379 18-Apr-2000 obrien

Rev 1.3 which resolved conflicts in the 2.9.1 import, used a comment from
2.8.1 rather than the new one in 2.9.1. This commit fixes that, is purely
cosmetic, and reduces the diff of our hacks to 2.9.1.


59344 18-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59343,
which included commits to RCS files with non-trunk default branches.


59342 18-Apr-2000 obrien

Change our ELF binary branding to something more acceptable to the Binutils
maintainers.

After we established our branding method of writing upto 8 characters of
the OS name into the ELF header in the padding; the Binutils maintainers
and/or SCO (as USL) decided that instead the ELF header should grow two new
fields -- EI_OSABI and EI_ABIVERSION. Each of these are an 8-bit unsigned
integer. SCO has assigned official values for the EI_OSABI field. In
addition to this, the Binutils maintainers and NetBSD decided that a better
ELF branding method was to include ABI information in a ".note" ELF
section.

With this set of changes, we will now create ELF binaries branded using
both "official" methods. Due to the complexity of adding a section to a
binary, binaries branded with ``brandelf'' will only brand using the
EI_OSABI method. Also due to the complexity of pulling a section out of an
ELF file vs. poking around in the ELF header, our image activator only
looks at the EI_OSABI header field.

Note that a new kernel can still properly load old binaries except for
Linux static binaries branded in our old method.

*
* For a short period of time, ``ld'' will also brand ELF binaries
* using our old method. This is so people can still use kernel.old
* with a new world. This support will be removed before 5.0-RELEASE,
* and may not last anywhere upto the actual release. My expiration
* time for this is about 6mo.
*


59161 12-Apr-2000 obrien

Slight cleaner code that may be more palatable to the Binutils maintainers.


59160 12-Apr-2000 obrien

Slightly cleaner branding code that may be more palatable to the Binutils
maintainers.


59025 05-Apr-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r59024,
which included commits to RCS files with non-trunk default branches.


57823 08-Mar-2000 cracauer

Turn a warning into an error. Occurances of that warning generate bad
-fpic code that damages symbol locations at runtime.

The only know occurance in our tree (src and ports) was locatime.c,
which was just changed to generate code that doesn't trigger the
problem.

This is a workaround, the real cause is that our gas doesn't
understand code our gcc generates for some -O -fpic code. They are
expected to be back in sync soon, but until then (including
4.0-RELEASE) we need to prevent people from using bad -fpic code.

PR: avoids such things as in bin/16862
Submitted by: bde
Approved by: jkh


57406 24-Feb-2000 jdp

Make the default dynamic linker pathname correct for FreeBSD.

I had resisted this for a while because I didn't want to take these
file off the vendor branch. But it turns out they were already off
the vendor branch anyway.

PR: gnu/9987
Submitted by: Vladimir Kushnir <kushn@mail.kar.net>
Approved by: jkh


56945 02-Feb-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r56944,
which included commits to RCS files with non-trunk default branches.


48850 17-Jul-1999 dfr

Merge some patches from RedHat-6.0. The most important change fixes a bug
when linking large shared libraries where the linker missed out some of
the dynamic relocations from the output. This prevents libqt from linking
properly among other packages.

Obtained from: RedHat-6.0


46293 02-May-1999 dfr

The maximum pagesize for alpha is 64k, not 1Mb.


45684 14-Apr-1999 nik

Fix typos.

PR: docs/8682
Submitted by: hnokubi@yyy.or.jp
Reviewed by: nik


45468 08-Apr-1999 simokawa

Change default entry point from `__start' to `_start' which is in crt1.o.
Cc doesn't need to pass `-e _start' to ld anymore.

Agreed by: gallatin and dfr


44350 28-Feb-1999 imp

Remove *mip* and *decstation* from the filter, per FREEBSD-updating.

This, and the previous import were approved by jdp.


44349 28-Feb-1999 imp

This commit was generated by cvs2svn to compensate for changes in r44348,
which included commits to RCS files with non-trunk default branches.


44347 28-Feb-1999 imp

We've been using 2.9.1 tools for some time now, so reflect that in the
example of how to add things to the FreeBSD tree.

Approved by: jdp


42372 07-Jan-1999 peter

ld was kinly looking up the Linux /etc/ld.so.conf (which we don't have).
Teach it about the FreeBSD equivalent, because there are some funny things
going on with -rpath that I can't quite get a handle on. It looks like
setting an rpath on a new shared object overrides all the implicit
DT_RPATH's from the dependencies, causing them to fail at link time
(but not runtime).


41786 14-Dec-1998 mckay

Restore traditional behaviour by allowing tabs in strings. In deference
to the new age of internationalisation, I used isblank() instead of a
literal '\t'.


41642 10-Dec-1998 steve

Another directive nit.

PR: 8144
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>


41641 10-Dec-1998 steve

Remove @code directive around --change-leading-char.

PR: 8143
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>


41626 10-Dec-1998 steve

Typo fix.

PR: 8034
Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>


41605 08-Dec-1998 billf

Balance the brackets.

PR: docs/8505
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>


41485 03-Dec-1998 billf

The explanation shows "-V" as being 'verbose' correct this to "-v"

PR: docs/8892
Submitted by: Hirayama Issei <iss@mail.wbs.ne.jp>


39494 19-Sep-1998 jdp

Fix segmentation violation that sometimes occurred when warning
symbols were used.

PR: bin/7980
Submitted by: Doug Rabson <dfr>


38891 06-Sep-1998 jdp

Resolve conflicts from import of binutils-2.9.1.

Submitted by: Doug Rabson <dfr>


38890 06-Sep-1998 jdp

This commit was generated by cvs2svn to compensate for changes in r38889,
which included commits to RCS files with non-trunk default branches.


34352 09-Mar-1998 jb

This commit was generated by cvs2svn to compensate for changes in r34351,
which included commits to RCS files with non-trunk default branches.


34350 09-Mar-1998 jb

Add a FreeBSD entry for alpha-elf.


33973 01-Mar-1998 jdp

Configuration changes to support FreeBSD. The linker only works for
ELF, not a.out. But all the other tools support both. I'm not so
sure about the assembler -- it might need more work.


33972 01-Mar-1998 jdp

Don't use "/" as a comment starter. In some FreeBSD sources, "/"
means divide (duh).


33971 01-Mar-1998 jdp

Fix the output format of "nm" so that it works properly for FreeBSD's
"lorder" command.

GNU rejected this change because they felt it would be an unacceptable
incompatibility to change the output format at this point -- even
though it was wrong to begin with.


33970 01-Mar-1998 jdp

Fix a bug which incorrectly caused files to be labeled as having
text relocations in certain situations.


33969 01-Mar-1998 jdp

Add automatic branding of FreeBSD ELF files.


33968 01-Mar-1998 jdp

Add upgrade instructions and helper file.


33966 01-Mar-1998 jdp

This commit was generated by cvs2svn to compensate for changes in r33965,
which included commits to RCS files with non-trunk default branches.