projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c87583
)
* config/tc-hppa.c (pa_comm): Delete incorrect check for symbol
author
Jeff Law
<law@redhat.com>
Sat, 30 Oct 1993 22:02:53 +0000
(22:02 +0000)
committer
Jeff Law
<law@redhat.com>
Sat, 30 Oct 1993 22:02:53 +0000
(22:02 +0000)
redefinition.
gas/ChangeLog
patch
|
blob
|
history
gas/config/tc-hppa.c
patch
|
blob
|
history
diff --git
a/gas/ChangeLog
b/gas/ChangeLog
index 573487daf1cd2b0bbd161abc680277667c42676d..3798218f6fc2694d055cfc0feb755c5e225fe1e1 100644
(file)
--- 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)
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.
* 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 584f9e3bad34d5a34557f6cb0890cd014fb32977..b831bc86b208713ec3bbe140526ed1b27464c606 100644
(file)
--- 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. */
/* 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 ();
pa_spaces_begin ();
@@
-4477,12
+4480,10
@@
pa_comm (unused)
if (symbol)
{
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)
if (S_GET_VALUE (symbol))
{
if (S_GET_VALUE (symbol) != size)