This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: arc-diffs.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]