binutils-gdb/bfd
Jakub Jelinek 9ee5e4996f binutils/
* readelf.c (get_segment_type): Handle PT_GNU_STACK.
bfd/
	* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_STACK.
	(bfd_section_from_phdr): Likewise.
	(map_sections_to_segments): Create PT_GNU_STACK segment header.
	(get_program_header_size): Count with PT_GNU_STACK.
	* elf-bfd.h (struct elf_obj_tdata): Add stack_flags.
	* elflink.h (bfd_elfNN_size_dynamic_sections): Set stack_flags.
include/
	* bfdlink.h (struct bfd_link_info): Add execstack and noexecstack.
	* elf/common.h (PT_GNU_STACK): Define.
ld/
	* ldgram.y (phdr_type): Grok PT_GNU_STACK.
	* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add
	-z execstack and -z noexecstack.
	(gld${EMULATION_NAME}_list_options): Likewise.
	* scripttempl/elf.sc: If not -r, discard .note.GNU-stack section.
2003-06-03 22:27:24 +00:00
..
doc Documenation formatting improvements. 2003-02-13 11:26:41 +00:00
hosts
po Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure. 2003-06-03 16:24:06 +00:00
acinclude.m4 Fix name of --enable-install-libbfd switch. 2003-05-02 08:14:52 +00:00
aclocal.m4 Fix name of --enable-install-libbfd switch. 2003-05-02 08:14:52 +00:00
aix5ppc-core.c
aix386-core.c
aout0.c
aout32.c
aout64.c
aout-adobe.c
aout-arm.c
aout-cris.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
aout-encap.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
aout-ns32k.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
aout-sparcle.c
aout-target.h
aout-tic30.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
aoutf1.h
aoutx.h Fix memory leaks 2003-03-31 18:13:25 +00:00
archive64.c
archive.c
archures.c 2003-05-16 Michael Snyder <msnyder@redhat.com> 2003-05-16 23:39:24 +00:00
armnetbsd.c
bfd-in2.h Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure. 2003-06-03 16:24:06 +00:00
bfd-in.h 2003-05-19 Roland McGrath <roland@redhat.com> 2003-05-21 00:57:20 +00:00
bfd.c * bfd.c (_bfd_get_gp_value): Prevent illegal access for abfd null 2003-05-17 00:41:45 +00:00
bfdio.c
bfdwin.c
binary.c
bout.c
cache.c
cf-i386lynx.c
cf-m68klynx.c
cf-sparclynx.c
ChangeLog binutils/ 2003-06-03 22:27:24 +00:00
ChangeLog-0001
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c
coff64-rs6000.c
coff-a29k.c
coff-alpha.c
coff-apollo.c
coff-arm.c Fixes for iWMMXt contribution. 2003-04-01 13:08:06 +00:00
coff-aux.c
coff-go32.c
coff-h8300.c Add support for h8300hn and h8300sn 2003-04-24 12:36:08 +00:00
coff-h8500.c Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
coff-i386.c
coff-i860.c
coff-i960.c
coff-ia64.c
coff-m68k.c
coff-m88k.c
coff-mcore.c
coff-mips.c
coff-or32.c
coff-pmac.c
coff-ppc.c Fix typo: intial -> initial. 2003-02-20 18:59:32 +00:00
coff-rs6000.c
coff-sh.c Replace occurrances of 'Hitachi' with 'Renesas'. 2003-04-15 08:51:55 +00:00
coff-sparc.c
coff-stgo32.c
coff-svm68k.c
coff-tic4x.c Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update 2003-04-04 08:15:15 +00:00
coff-tic30.c
coff-tic54x.c
coff-tic80.c
coff-u68k.c
coff-w65.c
coff-we32k.c
coff-z8k.c
coffcode.h Add support for h8300hn and h8300sn 2003-04-24 12:36:08 +00:00
coffgen.c Fixes for iWMMXt contribution. 2003-04-01 13:08:06 +00:00
cofflink.c
coffswap.h
config.bfd * config.bfd: Move obsolete entries out of the range of the 2003-06-02 19:25:51 +00:00
config.in Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure. 2003-06-03 16:24:06 +00:00
configure Replace i[3456]86 with i[3-7]86 2003-05-16 16:30:27 +00:00
configure.com
configure.host Replace i[3456]86 with i[3-7]86 2003-05-16 16:30:27 +00:00
configure.in Replace i[3456]86 with i[3-7]86 2003-05-16 16:30:27 +00:00
COPYING
corefile.c
cpu-a29k.c
cpu-alpha.c
cpu-arc.c
cpu-arm.c * cpu-arm.c (arm_check_note): Warning fix. 2003-05-09 11:35:35 +00:00
cpu-avr.c
cpu-cris.c
cpu-d10v.c
cpu-d30v.c
cpu-dlx.c
cpu-fr30.c
cpu-frv.c
cpu-h8300.c 2003-05-16 Michael Snyder <msnyder@redhat.com> 2003-05-16 23:39:24 +00:00
cpu-h8500.c
cpu-hppa.c
cpu-i370.c
cpu-i386.c
cpu-i860.c
cpu-i960.c
cpu-ia64-opc.c
cpu-ia64.c
cpu-ip2k.c
cpu-iq2000.c * Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo. 2003-01-03 21:12:28 +00:00
cpu-m32r.c
cpu-m68hc11.c
cpu-m68hc12.c * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for 2003-05-13 18:54:25 +00:00
cpu-m68k.c
cpu-m88k.c
cpu-m10200.c
cpu-m10300.c
cpu-mcore.c
cpu-mips.c [ bfd/ChangeLog ] 2002-12-31 07:29:29 +00:00
cpu-mmix.c
cpu-msp430.c
cpu-ns32k.c
cpu-openrisc.c
cpu-or32.c
cpu-pdp11.c
cpu-pj.c
cpu-powerpc.c
cpu-rs6000.c
cpu-s390.c
cpu-sh.c bfd: 2003-04-23 21:09:04 +00:00
cpu-sparc.c
cpu-tic4x.c Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update 2003-04-04 08:15:15 +00:00
cpu-tic30.c
cpu-tic54x.c
cpu-tic80.c
cpu-v850.c
cpu-vax.c
cpu-w65.c
cpu-we32k.c
cpu-xstormy16.c
cpu-xtensa.c Add Xtensa port 2003-04-01 15:50:31 +00:00
cpu-z8k.c
demo64.c
dep-in.sed
dwarf1.c
dwarf2.c * dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in 2003-04-16 00:30:24 +00:00
ecoff.c bfd 2003-02-04 12:34:08 +00:00
ecofflink.c
ecoffswap.h
efi-app-ia32.c
efi-app-ia64.c
elf32-arc.c
elf32-arm.h * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf32-avr.c
elf32-cris.c Fix the behaviour of --allow-shlib-undefined, so that it does what it claims 2003-02-17 18:24:40 +00:00
elf32-d10v.c
elf32-d30v.c
elf32-dlx.c
elf32-fr30.c
elf32-frv.c
elf32-gen.c
elf32-h8300.c 2003-05-16 Michael Snyder <msnyder@redhat.com> 2003-05-16 23:39:24 +00:00
elf32-hppa.c 2003-05-28 Alan Modra <amodra@bigpond.net.au> 2003-05-28 20:27:51 +00:00
elf32-hppa.h
elf32-i370.c
elf32-i386.c bfd/ 2003-05-30 15:50:12 +00:00
elf32-i860.c 2003-05-18 Jason Eckhardt <jle@rice.edu> 2003-05-18 21:24:33 +00:00
elf32-i960.c
elf32-ip2k.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf32-iq2000.c * cpu-arm.c (arm_check_note): Warning fix. 2003-05-09 11:35:35 +00:00
elf32-m32r.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf32-m68hc1x.c * elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Check for 2003-05-13 18:54:25 +00:00
elf32-m68hc1x.h * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c) 2003-04-21 13:22:14 +00:00
elf32-m68hc11.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf32-m68hc12.c * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c) 2003-04-21 13:22:14 +00:00
elf32-m68k.c * elf32-m68k.c (elf_m68k_check_relocs): Cache reloc section in 2003-05-17 19:40:36 +00:00
elf32-m88k.c
elf32-mcore.c
elf32-mips.c * elf32-mips.c (gprel32_with_gp): Remove useless N64 ABI case. 2003-05-15 00:04:34 +00:00
elf32-msp430.c
elf32-openrisc.c
elf32-or32.c
elf32-pj.c
elf32-ppc.c * elf32-ppc.c (allocate_dynrelocs): Use single slot for first 8192 2003-05-31 07:55:10 +00:00
elf32-ppc.h * elf32-ppc.h: New file. 2003-02-18 06:06:17 +00:00
elf32-s390.c bfd/ 2003-05-30 15:50:12 +00:00
elf32-sh64-com.c bfd: 2003-04-23 21:09:04 +00:00
elf32-sh64.c bfd: 2003-04-23 21:09:04 +00:00
elf32-sh64.h include/elf/ChangeLog 2003-01-23 11:51:35 +00:00
elf32-sh.c * elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section 2003-06-03 04:50:20 +00:00
elf32-sparc.c bfd/ 2003-05-30 15:50:12 +00:00
elf32-v850.c Add pc-relative 32-bit reloc to v850 port. Fixes ld-elf/merge test failure. 2003-06-03 16:24:06 +00:00
elf32-vax.c Fix the behaviour of --allow-shlib-undefined, so that it does what it claims 2003-02-17 18:24:40 +00:00
elf32-xstormy16.c Fix dst_mask for X_STORMY16_REL_12 reloc. 2003-05-21 12:36:46 +00:00
elf32-xtensa.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf32.c
elf64-alpha.c bfd/ 2003-05-30 15:50:12 +00:00
elf64-gen.c
elf64-hppa.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf64-hppa.h
elf64-mips.c * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used 2003-05-22 09:27:52 +00:00
elf64-mmix.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf64-ppc.c bfd/ 2003-05-30 15:50:12 +00:00
elf64-ppc.h * elf64-ppc.c (TLS_GD_LD): Don't define.. 2003-02-09 04:36:23 +00:00
elf64-s390.c bfd/ 2003-05-30 15:50:12 +00:00
elf64-sh64.c * elf32-sh.c (sh_elf_size_dynamic_sections): Create .interp section 2003-06-03 04:50:20 +00:00
elf64-sparc.c bfd/ 2003-05-30 15:50:12 +00:00
elf64-x86-64.c bfd/ 2003-05-30 15:50:12 +00:00
elf64.c
elf-bfd.h binutils/ 2003-06-03 22:27:24 +00:00
elf-eh-frame.c Fix memory leaks 2003-03-31 18:13:25 +00:00
elf-hppa.h
elf-m10200.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf-m10300.c * elflink.c (_bfd_elf_link_create_dynamic_sections): Move from 2003-05-09 02:27:11 +00:00
elf-strtab.c
elf.c binutils/ 2003-06-03 22:27:24 +00:00
elfarm-nabi.c
elfarm-oabi.c
elfcode.h 2003-05-19 Roland McGrath <roland@redhat.com> 2003-05-21 00:56:05 +00:00
elfcore.h (elf_core_file_p): Compare alternate machine codes for ELF backends when 2003-02-14 09:21:21 +00:00
elflink.c bfd/ 2003-05-30 15:50:12 +00:00
elflink.h binutils/ 2003-06-03 22:27:24 +00:00
elfn32-mips.c * elf64-mips.c (elf_mips_gnu_rel16_s2): Add internally used 2003-05-22 09:27:52 +00:00
elfxx-ia64.c bfd/ 2003-05-30 15:50:12 +00:00
elfxx-mips.c * elfxx-mips.c (_bfd_mips_elf_discard_info): Correct loop index. 2003-05-30 19:13:36 +00:00
elfxx-mips.h * elfxx-mips.c (_bfd_mips_relax_section): New function. 2003-03-26 01:04:22 +00:00
elfxx-target.h 2003-05-19 Roland McGrath <roland@redhat.com> 2003-05-21 00:56:05 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c Only check associated vector if the matching_vector has been created. 2003-04-18 08:06:01 +00:00
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c
host-aout.c
hp300bsd.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
hp300hpux.c
hppabsd-core.c
hpux-core.c
i386aout.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
i386bsd.c
i386dynix.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
i386freebsd.c
i386linux.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
i386lynx.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
i386mach3.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
i386msdos.c
i386netbsd.c
i386os9k.c
ieee.c (ieee_write_expression): Handle the case where symbol is NULL. 2003-03-14 12:47:20 +00:00
ihex.c
init.c
irix-core.c
libaout.h
libbfd-in.h
libbfd.c
libbfd.h Add Xtensa port 2003-04-01 15:50:31 +00:00
libcoff-in.h
libcoff.h Change embedded documentation to use consistent indentation and to split up 2003-02-14 11:16:09 +00:00
libecoff.h
libhppa.h
libieee.h
libnlm.h
liboasys.h
libpei.h (_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and 2003-04-03 11:13:27 +00:00
libxcoff.h
linker.c Fix memory leaks 2003-03-31 18:13:25 +00:00
lynx-core.c
m68k4knetbsd.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
m68klinux.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
m68klynx.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
m68knetbsd.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
m88kmach3.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
mach-o-target.c
mach-o.c
mach-o.h
MAINTAINERS
Makefile.am Replace <ctype.h> with "safe-ctype.h" 2003-05-29 15:05:41 +00:00
Makefile.in Replace <ctype.h> with "safe-ctype.h" 2003-05-29 15:05:41 +00:00
makefile.vms
merge.c
mipsbsd.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
mmo.c bfd 2003-02-04 12:34:08 +00:00
mpw-config.in
mpw-make.sed
netbsd-core.c
netbsd.h
newsos3.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
nlm32-alpha.c
nlm32-i386.c
nlm32-ppc.c
nlm32-sparc.c
nlm32.c
nlm64.c
nlm-target.h
nlm.c
nlmcode.h
nlmswap.h
ns32k.h
ns32knetbsd.c
oasys.c bfd 2003-02-04 12:34:08 +00:00
opncls.c Fix memory leaks 2003-03-31 18:13:25 +00:00
osf-core.c
pc532-mach.c
pdp11.c
pe-arm.c
pe-i386.c
pe-mcore.c
pe-mips.c
pe-ppc.c
pe-sh.c
pef-traceback.h
pef.c Replace <ctype.h> with "safe-ctype.h" 2003-05-29 15:05:41 +00:00
pef.h
pei-arm.c
pei-i386.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c
peicode.h If a section holds uninitialized data and is from an object file or from an 2003-04-15 14:26:06 +00:00
peXXigen.c (_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and 2003-04-03 11:13:27 +00:00
PORTING
ppcboot.c
ptrace-core.c
README
reloc16.c
reloc.c bfd: 2003-04-23 21:09:04 +00:00
riscix.c
rs6000-core.c
sco5-core.c
section.c bfd/ 2003-04-29 01:53:46 +00:00
simple.c (bfd_simple_get_relocated_section_contents): Disable free that leads to GDB 2003-04-06 08:15:58 +00:00
som.c (som_fixup_formats): Correct formats for R_AUX_UNWIND and R_COMMENT. 2003-03-06 12:29:04 +00:00
som.h * som.h: Define PA_2_0 before including a.out.h 2003-05-22 03:34:52 +00:00
sparclinux.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
sparclynx.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
sparcnetbsd.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
srec.c
stab-syms.c
stabs.c
stamp-h.in
sunos.c
syms.c Return 'n' if section flags are SEC_HAS_CONTENTS && SEC_READONLY. 2003-06-03 17:45:49 +00:00
sysdep.h
targets.c Add Xtensa port 2003-04-01 15:50:31 +00:00
targmatch.sed
tekhex.c
ticoff.h
TODO
trad-core.c
vax1knetbsd.c
vaxbsd.c (BYTES_IN_WORD): Don't define. 2003-03-13 09:28:49 +00:00
vaxnetbsd.c
versados.c
version.h daily update 2003-06-02 00:00:05 +00:00
vms-gsd.c
vms-hdr.c
vms-misc.c
vms-tir.c
vms.c
vms.h
xcoff-target.h
xcofflink.c
xsym.c Rename 'index' to 'offset' 2003-03-12 09:59:52 +00:00
xsym.h
xtensa-isa.c * cpu-arm.c (arm_check_note): Warning fix. 2003-05-09 11:35:35 +00:00
xtensa-modules.c * cpu-arm.c (arm_check_note): Warning fix. 2003-05-09 11:35:35 +00:00

BFD is an object file library.  It permits applications to use the
same routines to process object files regardless of their format.

BFD is used by the GNU debugger, assembler, linker, and the binary
utilities.

The documentation on using BFD is scanty and may be occasionally
incorrect.  Pointers to documentation problems, or an entirely
rewritten manual, would be appreciated.

There is some BFD internals documentation in doc/bfdint.texi which may
help programmers who want to modify BFD.

BFD is normally built as part of another package.  See the build
instructions for that package, probably in a README file in the
appropriate directory.

BFD supports the following configure options:

  --target=TARGET
	The default target for which to build the library.  TARGET is
	a configuration target triplet, such as sparc-sun-solaris.
  --enable-targets=TARGET,TARGET,TARGET...
	Additional targets the library should support.  To include
	support for all known targets, use --enable-targets=all.
  --enable-64-bit-bfd
	Include support for 64 bit targets.  This is automatically
	turned on if you explicitly request a 64 bit target, but not
	for --enable-targets=all.  This requires a compiler with a 64
	bit integer type, such as gcc.
  --enable-shared
	Build BFD as a shared library.
  --with-mmap
	Use mmap when accessing files.  This is faster on some hosts,
	but slower on others.  It may not work on all hosts.

Report bugs with BFD to bug-binutils@gnu.org.

Patches are encouraged.  When sending patches, always send the output
of diff -u or diff -c from the original file to the new file.  Do not
send default diff output.  Do not make the diff from the new file to
the original file.  Remember that any patch must not break other
systems.  Remember that BFD must support cross compilation from any
host to any target, so patches which use ``#ifdef HOST'' are not
acceptable.  Please also read the ``Reporting Bugs'' section of the
gcc manual.

Bug reports without patches will be remembered, but they may never get
fixed until somebody volunteers to fix them.