This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH/RFC] Move common symbols from arc.h to arc-ext.c
- From: Klee Dienes <klee at apple dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 31 Oct 2002 16:23:24 -0500
- Subject: [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