aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutf1.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-04 07:52:46 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-04 07:52:46 +0000
commit12e7087f536972db65252d9db6c04cf8441724ff (patch)
tree6ba2be18873bade4e6644421ceb7b03836f270fb /bfd/aoutf1.h
parentbdbd5f508635fa9581f85bd6ba7ec3620970674d (diff)
downloadgdb-12e7087f536972db65252d9db6c04cf8441724ff.zip
gdb-12e7087f536972db65252d9db6c04cf8441724ff.tar.gz
gdb-12e7087f536972db65252d9db6c04cf8441724ff.tar.bz2
Allow GDB to patch object files.
Makefile.in: Add crude dependencies.
Diffstat (limited to 'bfd/aoutf1.h')
-rw-r--r--bfd/aoutf1.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/aoutf1.h b/bfd/aoutf1.h
index 27ac892..50393df 100644
--- a/bfd/aoutf1.h
+++ b/bfd/aoutf1.h
@@ -305,7 +305,7 @@ struct internal_sunos_core {
static void
DEFUN(swapcore_sun3,(abfd, ext, intcore),
bfd *abfd AND
- char *ext;
+ char *ext AND
struct internal_sunos_core *intcore)
{
struct external_exec exec_bytes;
@@ -336,7 +336,7 @@ DEFUN(swapcore_sun3,(abfd, ext, intcore),
static void
DEFUN(swapcore_sparc,(abfd, ext, intcore),
bfd *abfd AND
- char *ext;
+ char *ext AND
struct internal_sunos_core *intcore)
{
struct external_sparc_core *extcore = (struct external_sparc_core *)ext;
@@ -483,10 +483,10 @@ DEFUN(sunos4_core_file_p,(abfd),
core_regsec (abfd)->name = ".reg";
core_reg2sec (abfd)->name = ".reg2";
- core_stacksec (abfd)->flags = SEC_ALLOC + SEC_LOAD;
- core_datasec (abfd)->flags = SEC_ALLOC + SEC_LOAD;
- core_regsec (abfd)->flags = SEC_ALLOC;
- core_reg2sec (abfd)->flags = SEC_ALLOC;
+ core_stacksec (abfd)->flags = SEC_ALLOC + SEC_LOAD + SEC_HAS_CONTENTS;
+ core_datasec (abfd)->flags = SEC_ALLOC + SEC_LOAD + SEC_HAS_CONTENTS;
+ core_regsec (abfd)->flags = SEC_ALLOC + SEC_HAS_CONTENTS;
+ core_reg2sec (abfd)->flags = SEC_ALLOC + SEC_HAS_CONTENTS;
core_stacksec (abfd)->size = core->c_ssize;
core_datasec (abfd)->size = core->c_dsize;