aboutsummaryrefslogtreecommitdiff
path: root/bfd/section.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-12-20 00:21:57 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-12-20 00:21:57 +0000
commit7b82c249fa95cb7c5500e8fe629f54f32de72ff8 (patch)
treed7b1f08c82474f2d1af73a1d50d574b5f7d19799 /bfd/section.c
parente30839fee3fa2b2ae067e6d85fa9ba41be09fc22 (diff)
downloadgdb-7b82c249fa95cb7c5500e8fe629f54f32de72ff8.zip
gdb-7b82c249fa95cb7c5500e8fe629f54f32de72ff8.tar.gz
gdb-7b82c249fa95cb7c5500e8fe629f54f32de72ff8.tar.bz2
2000-12-19 Kazu Hirata <kazu@hxi.com>
* sco5-core.c: Fix formatting. * section.c: Likewise. * sparclinux.c: Likewise. * sparclynx.c: Likewise. * sparcnetbsd.c: Likewise. * srec.c: Likewise. * stabs.c: Likewise. * stab-syms.c: Likewise. * sunos.c: Likewise. * syms.c: Likewise. * sysdep.h: Likewise.
Diffstat (limited to 'bfd/section.c')
-rw-r--r--bfd/section.c19
1 files changed, 2 insertions, 17 deletions
diff --git a/bfd/section.c b/bfd/section.c
index 13e259e..13e10d3 100644
--- a/bfd/section.c
+++ b/bfd/section.c
@@ -111,7 +111,6 @@ SUBSECTION
| size 0x103 |
| output_section --------|
-
SUBSECTION
Link orders
@@ -133,7 +132,6 @@ SUBSECTION
*/
-
#include "bfd.h"
#include "sysdep.h"
#include "libbfd.h"
@@ -642,7 +640,6 @@ bfd_get_section_by_name (abfd, name)
return NULL;
}
-
/*
FUNCTION
bfd_get_unique_section_name
@@ -693,7 +690,6 @@ bfd_get_unique_section_name (abfd, templat, count)
return sname;
}
-
/*
FUNCTION
bfd_make_section_old_way
@@ -719,7 +715,6 @@ DESCRIPTION
*/
-
asection *
bfd_make_section_old_way (abfd, name)
bfd *abfd;
@@ -867,7 +862,6 @@ bfd_make_section (abfd, name)
return bfd_make_section_anyway (abfd, name);
}
-
/*
FUNCTION
bfd_set_section_flags
@@ -911,14 +905,13 @@ bfd_set_section_flags (abfd, section, flags)
return true;
}
-
/*
FUNCTION
bfd_map_over_sections
SYNOPSIS
void bfd_map_over_sections(bfd *abfd,
- void (*func)(bfd *abfd,
+ void (*func) (bfd *abfd,
asection *sect,
PTR obj),
PTR obj);
@@ -937,7 +930,6 @@ DESCRIPTION
| for (p = abfd->sections; p != NULL; p = p->next)
| func(abfd, p, ...)
-
*/
/*VARARGS2*/
@@ -957,7 +949,6 @@ bfd_map_over_sections (abfd, operation, user_storage)
abort ();
}
-
/*
FUNCTION
bfd_set_section_size
@@ -982,7 +973,7 @@ bfd_set_section_size (abfd, ptr, val)
bfd_size_type val;
{
/* Once you've started writing to any section you cannot create or change
- the size of any others. */
+ the size of any others. */
if (abfd->output_has_begun)
{
@@ -1008,15 +999,12 @@ SYNOPSIS
file_ptr offset,
bfd_size_type count);
-
DESCRIPTION
Sets the contents of the section @var{section} in BFD
@var{abfd} to the data starting in memory at @var{data}. The
data is written to the output section starting at offset
@var{offset} for @var{count} octets.
-
-
Normally <<true>> is returned, else <<false>>. Possible error
returns are:
o <<bfd_error_no_contents>> -
@@ -1027,7 +1015,6 @@ DESCRIPTION
This routine is front end to the back end function
<<_bfd_set_section_contents>>.
-
*/
#define bfd_get_section_size_now(abfd,sec) \
@@ -1117,8 +1104,6 @@ DESCRIPTION
with zeroes. If no errors occur, <<true>> is returned, else
<<false>>.
-
-
*/
boolean
bfd_get_section_contents (abfd, section, location, offset, count)