Enable 'set print inferior-events' and improve detach/fork/kill/exit messages
[deliverable/binutils-gdb.git] / bfd / section.c
index 8e11c9087bca1d71651a73f8d2269f52cc2ab862..752f291cb10a5690829db944435475fc48319752 100644 (file)
@@ -65,10 +65,7 @@ SUBSECTION
        data in place until a <<bfd_get_section_contents>> call is
        made. Other back ends may read in all the data at once.  For
        example, an S-record file has to be read once to determine the
-       size of the data. An IEEE-695 file doesn't contain raw data in
-       sections, but data and relocation expressions intermixed, so
-       the data area has to be parsed to get out the data and
-       relocations.
+       size of the data.
 
 INODE
 Section Output, typedef asection, Section Input, Sections
@@ -221,13 +218,10 @@ CODE_FRAGMENT
 .  {* The section contains thread local data.  *}
 .#define SEC_THREAD_LOCAL                0x400
 .
-.  {* The section has GOT references.  This flag is only for the
-.     linker, and is currently only used by the elf32-hppa back end.
-.     It will be set if global offset table references were detected
-.     in this section, which indicate to the linker that the section
-.     contains PIC code, and must be handled specially when doing a
-.     static link.  *}
-.#define SEC_HAS_GOT_REF                 0x800
+.  {* The section's size is fixed.  Generic linker code will not
+.     recalculate it and it is up to whoever has set this flag to
+.     get the size right.  *}
+.#define SEC_FIXED_SIZE                  0x800
 .
 .  {* The section contains common symbols (symbols may be defined
 .     multiple times, the value of a symbol is the amount of
@@ -1698,3 +1692,13 @@ bfd_generic_discard_group (bfd *abfd ATTRIBUTE_UNUSED,
 {
   return TRUE;
 }
+
+bfd_boolean
+_bfd_nowrite_set_section_contents (bfd *abfd,
+                                  sec_ptr section ATTRIBUTE_UNUSED,
+                                  const void *location ATTRIBUTE_UNUSED,
+                                  file_ptr offset ATTRIBUTE_UNUSED,
+                                  bfd_size_type count ATTRIBUTE_UNUSED)
+{
+  return _bfd_bool_bfd_false_error (abfd);
+}
This page took 0.024413 seconds and 4 git commands to generate.