+2019-02-09 Vineet Gupta <vgupta@synopsys.com>
+
+ * elf32-arc (INIT_SYM_STRING): Delete.
+ (FINI_SYM_STRING): Likewise.
+ (init_str): Likewise.
+ (fini_str): Likewise.
+
2019-02-08 Alan Modra <amodra@gmail.com>
* elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
} \
}
-
-/* The default symbols representing the init and fini dyn values.
- TODO: Check what is the relation of those strings with arclinux.em
- and DT_INIT. */
-#define INIT_SYM_STRING "_init"
-#define FINI_SYM_STRING "_fini"
-
-char * init_str = INIT_SYM_STRING;
-char * fini_str = FINI_SYM_STRING;
-
#define ARC_RELOC_HOWTO(TYPE, VALUE, SIZE, BITSIZE, RELOC_FUNCTION, OVERFLOW, FORMULA) \
case VALUE: \
return "R_" #TYPE; \
+2019-02-09 Vineet Gupta <vgupta@synopsys.com>
+
+ * emultempl/arclinux.em: Delete special INIT/FINI handling.
+
2019-02-07 Nick Clifton <nickc@redhat.com>
PR 24175
# This shell script emits a C file. -*- C -*-
# Copyright (C) 2007-2019 Free Software Foundation, Inc.
#
-# Copyright 2008-2012 Synopsys Inc.
+# Copyright 2008-2019 Synopsys Inc.
#
# This file is part of GLD, the Gnu Linker.
#
# This file is sourced from elf32.em, and defines extra arc-linux
# specific routines.
#
-cat >>e${EMULATION_NAME}.c <<EOF
-extern char * init_str;
-extern char * fini_str;
-EOF
-
-PARSE_AND_LIST_PROLOGUE='
-#define OPTION_INIT 300+1
-#define OPTION_FINI (OPTION_INIT+1)
-'
-PARSE_AND_LIST_LONGOPTS='
- /* PE options */
- { "init", required_argument, NULL, OPTION_INIT },
- { "fini", required_argument, NULL, OPTION_FINI },
-'
-
-# FIXME: Should set PARSE_AND_LIST_OPTIONS to provide a short description
-# of the options.
-
-PARSE_AND_LIST_ARGS_CASES='
- case OPTION_FINI:
- fini_str = optarg;
- break;
-
- case OPTION_INIT:
- init_str = optarg;
- break;
-'