X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-hppa.c;h=8ae5a57e9039756f9a8c295f7f5b44baa72ad48e;hb=7f3dfb9cf74da197cfe71fb0490a90613269ca0f;hp=3886cb8e1094376eca800897c64fc396dda9f3a2;hpb=8973a37d31b14d0b90cd0046c1091e0e578dd16d;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 3886cb8e10..8ae5a57e90 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 @@ -8396,12 +8396,8 @@ pa_lsym (unused) any fixup which creates entries in the DLT (eg they use "T" field selectors). - Reject reductions involving symbols with external scope; such - reductions make life a living hell for object file editors. - - FIXME. Also reject R_HPPA relocations which are 32bits wide in - the code space. The SOM BFD backend doesn't know how to pull the - right bits out of an instruction. */ + ??? Reject reductions involving symbols with external scope; such + reductions make life a living hell for object file editors. */ int hppa_fix_adjustable (fixp) @@ -8414,17 +8410,6 @@ hppa_fix_adjustable (fixp) hppa_fix = (struct hppa_fix_struct *) fixp->tc_fix_data; -#ifdef OBJ_SOM - /* Reject reductions of symbols in 32bit relocs unless they - are fake labels. */ - if (fixp->fx_r_type == R_HPPA - && hppa_fix->fx_r_format == 32 - && strncmp (S_GET_NAME (fixp->fx_addsy), - FAKE_LABEL_NAME, - strlen (FAKE_LABEL_NAME))) - return 0; -#endif - #ifdef OBJ_ELF /* LR/RR selectors are implicitly used for a number of different relocation types. We must ensure that none of these types are adjusted (see below)