[build] Make sbitmap code available to the driver

The ARM option parsing code uses sbitmap data structures to manage
features and upcoming patches will shortly need to use these bitmaps
within the driver.  This patch moves sbitmap.o from OBJS to
OBJS-libcommon to facilitate this.

The patch has no impact on targets that don't need this functionality,
since the object is part of an archive and will only be extracted if
needed.

	* Makefile.in (OBJS): Move sbitmap.o from here ...
	(OBJS-libcommon): ... to here.

From-SVN: r249285
This commit is contained in:
Richard Earnshaw 2017-06-16 21:02:59 +00:00 committed by Richard Earnshaw
parent e87afe54b8
commit 9ef88abef4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-06-16 Richard Earnshaw <rearnsha@arm.com>
* Makefile.in (OBJS): Move sbitmap.o from here ...
(OBJS-libcommon): ... to here.
2017-06-16 Richard Earnshaw <rearnsha@arm.com>
* config/arm/arm-isa.h (ISA_ALL_FPU_INTERNAL): Renamed from ISA_ALL_FPU.

View File

@ -1441,7 +1441,6 @@ OBJS = \
rtlanal.o \
rtlhooks.o \
run-rtl-passes.o \
sbitmap.o \
sched-deps.o \
sched-ebb.o \
sched-rgn.o \
@ -1587,6 +1586,7 @@ OBJS = \
OBJS-libcommon = diagnostic.o diagnostic-color.o diagnostic-show-locus.o \
edit-context.o \
pretty-print.o intl.o \
sbitmap.o \
vec.o input.o version.o hash-table.o ggc-none.o memory-block.o \
selftest.o