aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-07-12 17:05:35 +0930
committerAlan Modra <amodra@gmail.com>2014-07-12 18:50:53 +0930
commit76bd66cfb5207137dac01534cf7d8af8f708743b (patch)
tree0ada48384425dbaa0bb9af196e8e91129093e184 /gas/read.c
parenta25eb0280d6ae5a791e0e613f42e3197c82d3030 (diff)
downloadgdb-76bd66cfb5207137dac01534cf7d8af8f708743b.zip
gdb-76bd66cfb5207137dac01534cf7d8af8f708743b.tar.gz
gdb-76bd66cfb5207137dac01534cf7d8af8f708743b.tar.bz2
Don't force "set" symbols local for PE
gas/ * read.c (assign_symbol): Don't force "set" symbols local for PE. gas/testsuite/ * gas/pe/set.s, * gas/pe/set.d: New test. * gas/pe/pe.exp: Run it.
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/read.c b/gas/read.c
index 8e1b06e..183ef2c 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -3187,7 +3187,7 @@ assign_symbol (char *name, int mode)
symbol_set_frag (symbolP, dummy_frag);
}
#endif
-#ifdef OBJ_COFF
+#if defined (OBJ_COFF) && !defined (TE_PE)
/* "set" symbols are local unless otherwise specified. */
SF_SET_LOCAL (symbolP);
#endif