aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-10-30 22:02:53 +0000
committerJeff Law <law@redhat.com>1993-10-30 22:02:53 +0000
commitd56f45f5bc7df7803fd31315eaf3d9fc2b1590b3 (patch)
tree6e8f3ce9d77be8aa5e04d6ce7f6bcdbc60784644
parent3c87583d0a5467280a8e05764773d4b531e894c6 (diff)
downloadgdb-d56f45f5bc7df7803fd31315eaf3d9fc2b1590b3.zip
gdb-d56f45f5bc7df7803fd31315eaf3d9fc2b1590b3.tar.gz
gdb-d56f45f5bc7df7803fd31315eaf3d9fc2b1590b3.tar.bz2
* config/tc-hppa.c (pa_comm): Delete incorrect check for symbol
redefinition.
-rw-r--r--gas/ChangeLog3
-rw-r--r--gas/config/tc-hppa.c19
2 files changed, 13 insertions, 9 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 573487d..3798218 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,8 @@
Sat Oct 30 14:26:20 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
+ * config/tc-hppa.c (pa_comm): Delete incorrect check for symbol
+ redefinition.
+
* config/obj-som.[ch]: New files for SOM support. Note SOM
support is not yet complete in GAS or BFD.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index 584f9e3..b831bc8 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -1345,9 +1345,12 @@ md_begin ()
/* Folding of text and data segments fails miserably on the PA.
Warn user and disable "-R" option. */
- as_warn ("-R option not supported on this target.");
- flag_readonly_data_in_text = 0;
- flagseen['R'] = 0;
+ if (flagseen['R'])
+ {
+ as_warn ("-R option not supported on this target.");
+ flag_readonly_data_in_text = 0;
+ flagseen['R'] = 0;
+ }
pa_spaces_begin ();
@@ -4477,12 +4480,10 @@ pa_comm (unused)
if (symbol)
{
- if (S_IS_DEFINED (symbol) && S_GET_SEGMENT (symbol) == bss_section)
- {
- as_bad ("Ignoring attempt to re-define symbol");
- ignore_rest_of_line ();
- return;
- }
+ /* It is incorrect to check S_IS_DEFINED at this point as
+ the symbol will *always* be defined. FIXME. How to
+ correctly determine when this label really as been
+ defined before. */
if (S_GET_VALUE (symbol))
{
if (S_GET_VALUE (symbol) != size)