[PATCH/RFC] Move common symbols from arc.h to arc-ext.c

Klee Dienes klee@apple.com
Thu Oct 31 13:23:00 GMT 2002


The header for arc.h currently declares two symbols with common 
linkage, arc_ext_opcodes and arc_ext_operands.  This causes problems 
when trying to build opcodes/ as a shared library on Mac OS X, as the 
OS X shared library format does not support common symbols in shared 
libraries.

Fortunately, one of the symbols appears to be completely unused, and 
the other appears only to be used by arc-ext.c.  The following patch 
removes arc_ext_opcodes and moves arc_ext_operands to arc.c:

2002-10-31  Klee Dienes  <kdienes@apple.com>

         * arc.h (arc_ext_opcodes): Remove.
         (arc_ext_operands): Remove (will be moved to arc-ext.c).

2002-10-31  Klee Dienes  <kdienes@apple.com>

         * arc-ext.c (arc_ext_operands): Move from arc.h.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: arc-diffs.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20021031/93fb4218/attachment.txt>


More information about the Binutils mailing list