diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-09-12 18:33:05 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-09-12 18:33:05 +0000 |
commit | 3994e2c66d792e3ea0f48d1cf039a022a62960bb (patch) | |
tree | d73f70bc083cf3b62549f712a3dd23505a5a1725 /binutils/objcopy.c | |
parent | 3de39064591933bc0fbc9141406a206644ced4fd (diff) | |
download | gdb-3994e2c66d792e3ea0f48d1cf039a022a62960bb.zip gdb-3994e2c66d792e3ea0f48d1cf039a022a62960bb.tar.gz gdb-3994e2c66d792e3ea0f48d1cf039a022a62960bb.tar.bz2 |
1999-09-12 Donn Terry <donn@interix.com>
* objcopy.c (parse_flags): Handle "noload", "debug", and "share".
* binutils.texi, objcopy.1: Document new flags.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 6137f11..f2455ba 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -372,10 +372,13 @@ parse_flags (s) else if (strncasecmp (fname, s, len) == 0) ret |= fval PARSE_FLAG ("alloc", SEC_ALLOC); PARSE_FLAG ("load", SEC_LOAD); + PARSE_FLAG ("noload", SEC_NEVER_LOAD); PARSE_FLAG ("readonly", SEC_READONLY); + PARSE_FLAG ("debug", SEC_DEBUGGING); PARSE_FLAG ("code", SEC_CODE); PARSE_FLAG ("data", SEC_DATA); PARSE_FLAG ("rom", SEC_ROM); + PARSE_FLAG ("share", SEC_SHARED); PARSE_FLAG ("contents", SEC_HAS_CONTENTS); #undef PARSE_FLAG else @@ -386,7 +389,7 @@ parse_flags (s) strncpy (copy, s, len); copy[len] = '\0'; non_fatal (_("unrecognized section flag `%s'"), copy); - fatal (_("supported flags: alloc, load, readonly, code, data, rom, contents")); + fatal (_("supported flags: alloc, load, noload, readonly, debug, code, data, rom, share, contents")); } s = snext; |