Files
Catherine Moore ae17ab41b7 include/ChangeLog
2011-07-11  Catherine Moore  <clm@codesourcery.com>

	* bfdlink.h (flag_type): New enumeration.
	(flag_info_list): New structure.
	(flag_info): New structure.

bfd/ChangeLog
2011-07-11  Catherine Moore  <clm@codesourcery.com>

	* aout-adobe.c (aout_32_bfd_lookup_section_flags): New definition.
	* aout-target.h (MY_bfd_lookup_section_flags): New definition.
	* aout-tic30.c (MY_bfd_lookup_section_flags): New definition.
        * bfd-in2.h: Regenerated.
	* bfd.c (bfd_lookup_section_flags): New definition.
	* binary.c (binary_bfd_lookup_section_flags): New definition.
	* bout.c (b_out_bfd_lookup_section_flags): New definition.
	* coff-alpha.c (_bfd_ecoff_bfd_lookup_section_flags): New definition.
	* coff-mips.c (_bfd_ecoff_bfd_lookup_section_flags): New definition.
	* coff-rs6000.c (rs6000coff_vec): Include
	bfd_generic_lookup_section_flags.
	(pmac_xcoff_vec): Likewise.
	* coffcode.h (coff_bfd_lookup_section_flags): New definition.
	* coff64-rs6000.c (rs6000coff64_vec): Include
	bfd_generic_lookup_section_flags.
	(aix5coff64_vec): Likewise.
	* ecoff.c (bfd_debug_section): Initialize flag_info field.
	* elf-bfd.h (elf_backend_lookup_section_flags_hook): Declare.
	(bfd_elf_lookup_section_flags): Declare.
	* elflink.c (bfd_elf_lookup_section_flags): New function.
	* elfxx-target.h (bfd_elfNN_bfd_lookup_section_flags): Define.
	(elf_backend_lookup_section_flags_hook): Define.
	(elf_backend_data): Add elf_backend_lookup_section_flags_hook.
	* i386msdos.c (msdos_bfd_lookup_section_flags): New define.
	* i386os9k.c (os9k_bfd_lookup_section_flags): New define.
	* ieee.c (ieee_bfd_lookup_section_flags): New define.
	* ihex.c (ihex_bfd_lookup_section_flags): New define.
	* libbfd-in.h (_bfd_nolink_bfd_lookup_section_flags): Declare.
	(bfd_generic_lookup_section_flags): Declare.
	* libbfd.h: Regenerated.
	* mach-o-target.c (bfd_mach_o_bfd_lookup_section_flags): New.
	* mmo.c (mmo_bfd_lookup_section_flags): New definition.
	* nlm-target.h (nlm_bfd_lookup_section_flags): New definition.
	* oasys.c (oasys_bfd_lookup_section_flags): New definition.
	* pef.c (bfd_pef_bfd_lookup_section_flags): New definition.
	* plugin.c (bfd_plugin_bfd_lookup_section_flags): New definition.
	* ppcboot.c (ppcboot_bfd_lookup_section_flags): New definition.
	* reloc.c (bfd_generic_lookup_section_flags): New function.
	* som.c (som_bfd_lookup_section_flags): New definition.
	* srec.c (srec_bfd_lookup_section_flags): New definition.
	* targets.c (flag_info): Declare.
	(NAME##_bfd_lookup_section_flags): Add to LINK jump table.
	(_bfd_lookup_section_flags): New.
	* tekhex.c (tekhex_bfd_lookup_section_flags): New definition.
	* versados.c (versados_bfd_lookup_section_flags): New definition.
	* vms-alpha.c (alpha_vms_bfd_lookup_section_flag): New definition.
	* xsym.c (bfd_sym_bfd_lookup_section_flags): New definition.

ld/ChangeLog
2011-07-11  Catherine Moore  <clm@codesourcery.com>

	* ld.h (section_flag_list): Add field to struct wildcard_spec.
	* ld.texinfo (INPUT_SECTION_FLAGS): Document.
	* ldgram.y (flag_info_list, flag_info): Add to union.
	(INPUT_SECTION_FLAGS): New token.
	(wildcard_spec): Initialize section_flag_list to NULL for
	each alternative.
	(sect_flag_list, sect_flags): New rules.
	(input_section_spec_no_keep): Add alternatives to recognize
	sect_flags.
	* ldlang.c (walk_wild_consider_section): Initialize
	section_flag_info field of the section struct.
	(lang_add_section): Check input section flags.
	(lang_add_wild): Initialize section_flag_list field of
	the statement struct.
	* ldlang.h (lang_input_statement_struct): Add section_flag_list field.
	(lang_wild_statement_struct): Likewise.
	* ldlex.l (INPUT_SECTION_FLAGS): New token.
	* mri.c (mri_draw_tree): Initialize section_flag_list to NULL.
	* NEWS: Announce INPUT_SECTION_FLAGS enhancement.

ld/testsuite/ChangeLog
2011-07-11 Catherine Moore  <clm@cm00re.com>

	* ld-scripts/section-flags-1.s: New.
	* ld-scripts/section-flags-1.t: New.
	* ld-scripts/section-flags-2.s: New.
	* ld-scripts/section-flags-2.t: New.
	* ld-scripts/section-flags.exp: New.
2011-07-11 15:03:09 +00:00
..
2011-06-16 22:08:12 +00:00
2011-06-14 05:09:52 +00:00
2010-05-07 12:28:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2009-01-02 16:48:11 +00:00
2011-01-01 16:43:53 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2011-05-17 13:02:18 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-06-02 13:43:24 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-06-02 13:43:24 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-05-07 14:26:56 +00:00
2011-07-09 06:20:52 +00:00
2011-05-12 07:41:43 +00:00
2011-03-31 14:15:31 +00:00
2010-12-31 11:01:00 +00:00
2011-06-14 05:09:52 +00:00
2011-02-28 18:30:16 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2011-03-22 18:10:48 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2008-12-23 19:10:25 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-04-16 15:39:48 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-05-26 14:12:03 +00:00
2010-02-08 01:59:38 +00:00
2009-09-02 07:25:43 +00:00
bfd
2009-09-29 14:17:19 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-03-25 21:12:36 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-07-23 14:52:54 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-01-11 09:53:27 +00:00
2011-04-28 12:50:32 +00:00
2011-07-11 15:03:09 +00:00
2011-06-02 13:43:24 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2011-07-03 13:37:09 +00:00
2009-09-02 07:25:43 +00:00
2011-07-03 13:37:09 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2011-06-02 13:43:24 +00:00
2009-09-02 07:25:43 +00:00
2011-06-02 13:43:24 +00:00
2011-06-02 13:43:24 +00:00
2010-12-31 11:01:00 +00:00
2010-10-25 15:54:16 +00:00
2010-10-25 15:54:16 +00:00
2011-06-02 13:43:24 +00:00
2010-10-25 15:54:16 +00:00
2009-09-21 11:51:02 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-03-14 15:55:04 +00:00
2011-04-11 08:13:22 +00:00
2011-02-28 18:30:16 +00:00
2009-08-05 20:40:34 +00:00
2011-03-31 08:58:28 +00:00
2010-10-25 15:54:16 +00:00
2009-09-02 07:25:43 +00:00
2011-06-24 17:38:17 +00:00
2011-07-03 13:37:09 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 11:01:00 +00:00
2010-10-25 15:54:16 +00:00
2011-04-11 08:13:22 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-06-20 13:18:52 +00:00
2010-10-25 15:54:16 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-03 13:37:09 +00:00
2011-07-11 15:03:09 +00:00
2010-12-31 11:01:00 +00:00
2010-02-08 20:28:43 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-06-03 16:16:32 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-05-07 13:48:50 +00:00
2011-07-11 15:03:09 +00:00
2010-03-24 15:41:59 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
bfd
2011-05-18 07:58:36 +00:00
2011-07-09 06:20:52 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-07-06 07:22:20 +00:00
2011-06-14 05:09:52 +00:00
2011-06-14 05:09:52 +00:00
2011-07-11 15:03:09 +00:00
2011-06-02 13:43:24 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2011-06-02 13:43:24 +00:00
2011-07-11 15:03:09 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-04-20 00:11:33 +00:00
2011-07-11 15:03:09 +00:00
2010-06-10 08:51:46 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2011-02-28 18:30:16 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-10-02 14:40:41 +00:00
2009-09-02 07:25:43 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 00:00:05 +00:00
2011-07-11 15:03:09 +00:00
2011-07-11 15:03:09 +00:00
2011-02-28 18:30:16 +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.