aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2004-03-23 01:37:00 +0000
committerBob Wilson <bob.wilson@acm.org>2004-03-23 01:37:00 +0000
commit88d65ad6f1503fecf3f07d742ca76b218ff08518 (patch)
tree1c5fa93f1d040b8a3e091a63b46d60c653e1aeb6 /gas
parentf2edeee557972e38a653125d443e8f8042566bc4 (diff)
downloadgdb-88d65ad6f1503fecf3f07d742ca76b218ff08518.zip
gdb-88d65ad6f1503fecf3f07d742ca76b218ff08518.tar.gz
gdb-88d65ad6f1503fecf3f07d742ca76b218ff08518.tar.bz2
bfd/ChangeLog:
* elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read literal tables and check for relocs outside of literal pools. (elf_xtensa_make_sym_local): Don't clear ELF_LINK_NON_GOT_REF flag. (elf_xtensa_fix_refcounts): Don't check ELF_LINK_NON_GOT_REF or set DF_TEXTREL. (elf_xtensa_size_dynamic_sections): Don't add DT_TEXTREL entry. (elf_xtensa_relocate_section): Read literal tables and check for dynamic relocations in read-only sections and not in literal pools. gas/ChangeLog: * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal tables even when use_literal_section flag is not set.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xtensa.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6565aed..ec4e566 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-22 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
+ tables even when use_literal_section flag is not set.
+
2004-03-22 Alan Modra <amodra@bigpond.net.au>
* config/tc-sh.c: Remove trailing whitespace.
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index 8f101db..6f9198a 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -7888,10 +7888,9 @@ xtensa_post_relax_hook ()
xtensa_create_property_segments (get_frag_is_insn,
XTENSA_INSN_SEC_NAME,
xt_insn_sec);
- if (use_literal_section)
- xtensa_create_property_segments (get_frag_is_literal,
- XTENSA_LIT_SEC_NAME,
- xt_literal_sec);
+ xtensa_create_property_segments (get_frag_is_literal,
+ XTENSA_LIT_SEC_NAME,
+ xt_literal_sec);
}