aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-07-20 16:13:26 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-07-20 16:13:26 +0000
commit19e3be22a42ccf898065738decc2908fcb86924e (patch)
tree2606aee9c84808ab5bc0b91fbd3d6937a7d97151
parent82456b17b7222d384179355e76d09703b22a9b09 (diff)
downloadgdb-19e3be22a42ccf898065738decc2908fcb86924e.zip
gdb-19e3be22a42ccf898065738decc2908fcb86924e.tar.gz
gdb-19e3be22a42ccf898065738decc2908fcb86924e.tar.bz2
2000-07-20 H.J. Lu <hjl@gnu.org>
* emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): Print out ignored -z options.
-rw-r--r--ld/ChangeLog39
-rw-r--r--ld/emultempl/elf32.em1
2 files changed, 23 insertions, 17 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 2baeea7..3ef235a 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,22 +1,27 @@
+2000-07-20 H.J. Lu <hjl@gnu.org>
+
+ * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options):
+ Print out ignored -z options.
+
2000-07-19 H.J. Lu <hjl@gnu.org>
- * elf32-arm.h (elf32_arm_size_dynamic_sections): Also set
- DF_TEXTREL if DT_TEXTREL is set.
- * elf32-i370.c (i370_elf_size_dynamic_sections): Likewise.
- * elf32-i386.c (elf_i386_size_dynamic_sections): Likewise.
- * elf32-m68k.c (elf_m68k_size_dynamic_sections): Likewise.
- * elf32-mips.c (_bfd_mips_elf_size_dynamic_sections): Likewise.
- * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise.
- * elf32-sparc.c (elf32_sparc_size_dynamic_sections): Likewise.
- * elf64-alpha.c (elf64_alpha_size_dynamic_sections): Likewise.
- * elf64-hppa.c (elf64_hppa_size_dynamic_sections): Likewise.
- * elf64-ia64.c (elf64_ia64_size_dynamic_sections): Likewise.
- * elf64-sparc.c (sparc64_elf_size_dynamic_sections): Likewise.
-
- * bfd/elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also
- set DF_SYMBOLIC for symbolic link. Also set DT_RUNPATH if
- DT_RPATH is set.
- Set the DT_FLAGS and DT_FLAGS_1 entries if necessary.
+ * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed.
+ (PARSE_AND_LIST_PROLOGUE): New.
+ (PARSE_AND_LIST_LONGOPTS): Likewise.
+ (PARSE_AND_LIST_OPTIONS): Likewise.
+ (PARSE_AND_LIST_ARGS_CASES): Likewise.
+
+ * ldmain.c (main): Clear link_info.flags and link_info.flags_1.
+
+ * lexsup.c (ld_options): Comment out 'z'.
+ (parse_args): Likewise.
+
+ * emultempl/elf32.em: Include "elf/common.h".
+ (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z
+ options.
+ (gld_${EMULATION_NAME}_list_options): Likewise.
+
+ * ld.texinfo: Add documentation for the recognized -z options.
2000-07-19 H.J. Lu <hjl@gnu.org>
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 0e4464d..2510148 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -1327,6 +1327,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
fprintf (file, _(" -z now\t\tMark object non-lazy runtime binding\n"));
fprintf (file, _(" -z origin\t\tMark object requiring immediate \$ORIGIN processing\n"));
fprintf (file, _("\t\t\t at runtime\n"));
+ fprintf (file, _(" -z KEYWORD\t\tIgnored for Solaris compatibility\n"));
EOF
fi