Ignore:
Timestamp:
Mar 11, 2016, 10:07:35 PM (4 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
77e6eba7
Parents:
83a116b
Message:

pc386: Fix linker usage issues with -r and function sections

closes #2638.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r83a116b r5e368e84  
    202202ne2000_rel_CPPFLAGS = $(AM_CPPFLAGS) $(ne2000_CPPFLAGS)
    203203ne2000_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     204ne2000_rel_LDFLAGS += -Wl,--undefined=rtems_ne_driver_attach
    204205endif
    205206
     
    215216wd8003_rel_CPPFLAGS = $(AM_CPPFLAGS) $(wd8003_CPPFLAGS)
    216217wd8003_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     218wd8003_rel_LDFLAGS += -Wl,--undefined=rtems_wd_driver_attach
    217219endif
    218220
     
    2262283c509_rel_CPPFLAGS = $(AM_CPPFLAGS) $(3c509_CPPFLAGS)
    2272293c509_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     2303c509_rel_LDFLAGS += -Wl,--undefined=rtems_3c509_driver_attach
     2313c509_rel_LDFLAGS += -Wl,--undefined=ep_board
    228232endif
    229233
Note: See TracChangeset for help on using the changeset viewer.