aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-11-16 08:00:31 +0000
committerAlan Modra <amodra@gmail.com>2005-11-16 08:00:31 +0000
commit7815f84885ca14122f500112c406bbbeadf24988 (patch)
tree659456eef71cd7ba644fd93c929488e88413cae8 /gas
parent7270c5edcbb158904a8f11852cad1261162d8308 (diff)
downloadgdb-7815f84885ca14122f500112c406bbbeadf24988.zip
gdb-7815f84885ca14122f500112c406bbbeadf24988.tar.gz
gdb-7815f84885ca14122f500112c406bbbeadf24988.tar.bz2
* config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-hppa.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 285d8ff..6dc5808 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
2005-11-16 Alan Modra <amodra@bigpond.net.au>
+ * config/tc-hppa.c (pa_comm): Set bfd_com_section segment.
+
+2005-11-16 Alan Modra <amodra@bigpond.net.au>
+
* configure.tgt (i386-*-gnu*): Set em=gnu.
* config/te-gnu.h: New file.
* config/tc-i386.c: Don't use '/' as comment char for TE_GNU.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 3886cb8..bcf5654 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -6400,7 +6400,7 @@ pa_comm (unused)
{
symbol_get_bfdsym (symbol)->flags |= BSF_OBJECT;
S_SET_VALUE (symbol, size);
- S_SET_SEGMENT (symbol, bfd_und_section_ptr);
+ S_SET_SEGMENT (symbol, bfd_com_section_ptr);
S_SET_EXTERNAL (symbol);
/* colon() has already set the frag to the current location in the