make/solaris/makefiles/jsig.make

changeset 7354
8c76e844a7f9
parent 4344
892acf0431ef
child 7535
7ae4e26cb1e0
child 9717
23845b8c4b4b
     1.1 --- a/make/solaris/makefiles/jsig.make	Fri Nov 14 07:51:50 2014 -0800
     1.2 +++ b/make/solaris/makefiles/jsig.make	Sat Nov 15 11:22:07 2014 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  #
     1.5 -# Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 +# Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
     1.7  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8  #
     1.9  # This code is free software; you can redistribute it and/or modify it
    1.10 @@ -47,22 +47,13 @@
    1.11  LFLAGS_JSIG += -mt -xnolib
    1.12  endif
    1.13  
    1.14 -$(LIBJSIG): $(ADD_GNU_DEBUGLINK) $(FIX_EMPTY_SEC_HDR_FLAGS) $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE)
    1.15 +$(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE)
    1.16  	@echo Making signal interposition lib...
    1.17  	$(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \
    1.18                           $(LFLAGS_JSIG) -o $@ $(JSIGSRCDIR)/jsig.c -ldl
    1.19  ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1)
    1.20 -# gobjcopy crashes on "empty" section headers with the SHF_ALLOC flag set.
    1.21 -# Clear the SHF_ALLOC flag (if set) from empty section headers.
    1.22 -# An empty section header has sh_addr == 0 and sh_size == 0.
    1.23 -# This problem has only been seen on Solaris X64, but we call this tool
    1.24 -# on all Solaris builds just in case.
    1.25 -	$(QUIETLY) $(FIX_EMPTY_SEC_HDR_FLAGS) $@
    1.26  	$(QUIETLY) $(OBJCOPY) --only-keep-debug $@ $(LIBJSIG_DEBUGINFO)
    1.27 -# $(OBJCOPY) --add-gnu-debuglink=... corrupts SUNW_* sections.
    1.28 -# Use $(ADD_GNU_DEBUGLINK) until a fixed $(OBJCOPY) is available.
    1.29 -#	$(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(LIBJSIG_DEBUGINFO) $@
    1.30 -	$(QUIETLY) $(ADD_GNU_DEBUGLINK) $(LIBJSIG_DEBUGINFO) $@
    1.31 +	$(QUIETLY) $(OBJCOPY) --add-gnu-debuglink=$(LIBJSIG_DEBUGINFO) $@
    1.32    ifeq ($(STRIP_POLICY),all_strip)
    1.33  	$(QUIETLY) $(STRIP) $@
    1.34    else

mercurial