aboutsummaryrefslogtreecommitdiff
path: root/binutils/copy.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-05-12 07:34:24 +0000
committerSteve Chamberlain <steve@cygnus>1991-05-12 07:34:24 +0000
commit23565c68dc4e6334d715c6a9ef660f7eb1763fa6 (patch)
tree3f5ecdb6198d0a6ad4b35b0b9f22ef9341a010da /binutils/copy.c
parent10be52bffd1016d6091eec0227e6775af5d1a9f6 (diff)
downloadgdb-23565c68dc4e6334d715c6a9ef660f7eb1763fa6.zip
gdb-23565c68dc4e6334d715c6a9ef660f7eb1763fa6.tar.gz
gdb-23565c68dc4e6334d715c6a9ef660f7eb1763fa6.tar.bz2
C
VS: ----------------------------------------------------------------------
Diffstat (limited to 'binutils/copy.c')
-rw-r--r--binutils/copy.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/binutils/copy.c b/binutils/copy.c
index d9039ae..9db6bf1 100644
--- a/binutils/copy.c
+++ b/binutils/copy.c
@@ -92,12 +92,14 @@ bfd *obfd;
ibfd->filename, ibfd->xvec->name,
obfd->filename, obfd->xvec->name);
- if ((bfd_set_start_address(obfd, bfd_get_start_address(ibfd)) == false) ||
+ if ((bfd_set_start_address(obfd, bfd_get_start_address(ibfd)) == false)
+ ||
(bfd_set_file_flags(obfd, (bfd_get_file_flags(ibfd) &
- ~(HAS_LINENO | HAS_DEBUG | HAS_SYMS | D_PAGED |
- HAS_LOCALS))) == false) ||
- bfd_set_start_address(obfd, bfd_get_start_address(ibfd)) == false)
- bfd_fatal(bfd_get_filename(ibfd));
+ (HAS_LINENO | HAS_DEBUG |
+ HAS_RELOC | HAS_SYMS | D_PAGED |
+ HAS_LOCALS))) == false)) {
+ bfd_fatal(bfd_get_filename(ibfd));
+ }
/* Copy architecture of input file to output file */
if (!bfd_set_arch_mach(obfd, bfd_get_architecture(ibfd),