ChangeLog-2008 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883
  1. 2008-12-23 Jon Beniston <jon@beniston.com>
  2. * NEWS: Record that support for LM32 has been added.
  3. * Makefile.am: Add LM32 object files and dependencies.
  4. * Makefile.in: Regenerate.
  5. * configure.in: Indicate LM32 uses cgen.
  6. * configure: Regenerate.
  7. * configure.tgt: Add LM32 target.
  8. * config/tc-lm32.c: New file.
  9. * config/tc-lm32.h: New file.
  10. * doc/Makefile.am: Add c-lm32.texi to CPU_DOCS.
  11. * doc/Makefile.in: Regenerate.
  12. * doc/all.texi: Add LM32 as CPU of interest.
  13. * doc/as.texinfo: Add LM32 dependent features link.
  14. * doc/c-lm32.texi: New file.
  15. 2008-12-23 H.J. Lu <hongjiu.lu@intel.com>
  16. * config/tc-i386.c (match_template): Changed to return
  17. const template *. Handle i.swap_operand for 3 operands.
  18. (build_vex_prefix): Take const template *. Swap operand for
  19. 2-byte VEX prefix if possible.
  20. (md_assemble): Updated.
  21. (build_modrm_byte): Handle RegMem bit for SSE2AVX.
  22. 2008-12-23 Anatoly Sokolov <aesok@post.ru>
  23. * config/tc-avr.c (mcu_types): Add attiny87, attiny327, atmega4hvd,
  24. atmega8hvd, atmega16hvb, atmega32hvb, atmega64c1, atmega16m1,
  25. atmega64m1, atmega32u6, atmega128rfa1, at90pwm81, at90scr100,
  26. m3000f, m3000s and m3001b devices.
  27. * doc/c-avr.texi: Likewise.
  28. 2008-12-23 Nick Clifton <nickc@redhat.com>
  29. * NEWS :Remove mention of STT_IFUNC support.
  30. * config/obj-elf.c (obj_elf_type): Remove STT_IFUNC support.
  31. * doc/as.texinfo: Remove mention of STT_IFUNC support.
  32. 2008-12-21 Hans-Peter Nilsson <hp@axis.com>
  33. * config/tc-cris.c (s_cris_dtpoff): New function.
  34. (md_pseudo_table): Add "dtpoffd".
  35. 2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
  36. * config/tc-i386.c (parse_insn): Optimize ".s" handling.
  37. 2008-12-20 H.J. Lu <hongjiu.lu@intel.com>
  38. * config/tc-i386.c (_i386_insn): Add swap_operand.
  39. (parse_insn): Handle ".s".
  40. (match_template): Handle swap_operand.
  41. * doc/c-i386.texi: Document .s suffix.
  42. 2008-12-20 Hans-Peter Nilsson <hp@axis.com>
  43. * config/tc-cris.c (cris_process_instruction): Handle
  44. BFD_RELOC_CRIS_32_IE, in the test whether the relocation fits.
  45. (get_3op_or_dip_prefix_op): Handle TLS/PIC decoration for the
  46. "double indirect" addressing mode.
  47. (cris_get_reloc_suffix): Add entry for :IE for BFD_RELOC_CRIS_32_IE.
  48. (cris_number_to_imm, tc_gen_reloc): Handle BFD_RELOC_CRIS_32_IE.
  49. 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  50. * configure: Regenerate.
  51. 2008-12-08 H.J. Lu <hongjiu.lu@intel.com>
  52. * config/tc-i386.c (build_modrm_byte): Remove an extra blank
  53. line.
  54. 2008-12-04 Ben Elliston <bje@au.ibm.com>
  55. * config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
  56. usage strings.
  57. (ppc_setup_opcodes): Likewise, remove booke64 support.
  58. * doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
  59. * doc/as.texinfo (Overview): Likewise.
  60. 2008-12-04 Nick Clifton <nickc@redhat.com>
  61. * doc/as.texinfo (Type): Reword description of STT_IFUNC type.
  62. 2008-12-03 Nick Clifton <nickc@redhat.com>
  63. * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
  64. * doc/as.texinfo: Document new feature.
  65. * NEWS: Mention new feature.
  66. 2008-11-29 Kai Tietz <kai.tietz@onevision.com>
  67. * config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
  68. use "pe-i386" for 32-bit.
  69. 2008-11-28 Jakub Jelinek <jakub@redhat.com>
  70. * Makefile.am (ehopt.o): Add struc-symbol.h.
  71. * Makefile.in: Regenerated.
  72. * ehopt.c: Include struc-symbol.h.
  73. (check_eh_frame): For very small O_constant DW_CFA_advance_loc4
  74. create correct DW_CFA_advance_loc. Handle O_subtract only
  75. for code alignment factor 1, otherwise handle O_divide or
  76. O_right_shift of O_subtract and O_constant.
  77. (eh_frame_estimate_size_before_relax): Always divide by ca.
  78. (eh_frame_convert_frag): Likewise.
  79. 2008-11-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  80. * dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
  81. DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.
  82. 2008-11-28 Joshua Kinard <kumba@gentoo.org>
  83. * config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
  84. (mips_cpu_info_table): Add r14000, r16000.
  85. * doc/c-mips.texi: Add entries for 14000, 16000.
  86. 2008-11-27 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
  87. * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
  88. * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
  89. md_pseudo_table and accept @c prefix, same as long directive.
  90. (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
  91. (tc_gen_reloc): Declare a variable of type bfd_reloc_code_real_type
  92. and set it for GOT related relocations.
  93. (md_undefined_symbol): Defined
  94. (process_label_constant): Added checks for GOT/got and cGOT/cGOT
  95. prefixes with constant label and set the appropriate relocation type.
  96. * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
  97. 2008-11-26 DJ Delorie <dj@redhat.com>
  98. * config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
  99. 2008-11-25 DJ Delorie <dj@redhat.com>
  100. * config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
  101. 2008-11-21 Sterling Augustine <sterling@tensilica.com>
  102. * config/tc-xtensa.c (check_t1_t2_reads_and_writes): Call
  103. xtensa_state_is_shared_or to allow multiple opcodes within a
  104. single FLIX bundle to write to these special states.
  105. 2008-11-19 Hans-Peter Nilsson <hp@axis.com>
  106. * config/tc-cris.c (cris_number_to_imm): Apply S_SET_THREAD_LOCAL
  107. on symbols in TLS relocs.
  108. 2008-11-19 Nick Clifton <nickc@redhat.com>
  109. * doc/fdl.texi: Update to v1.3
  110. * doc/as.texinfo: Change license to v1.3.
  111. 2008-11-18 Catherine Moore <clm@cm00re.com>
  112. * config/tc-arm.c (neon_type_mask): Renumber.
  113. (type_chk_of_el_type): Handle F_F16.
  114. (neon_cvt_flavour): Recognize half-precision conversions.
  115. (do_neon_cvt): New shapes NS_QD and
  116. NS_DQ. Encode half-precision conversions.
  117. (do_neon_cvtt): Encode the T bit.
  118. (asm_opcode_insns): vcvt, vcvtt support.
  119. (arm_option_cpu_value): Add neon-fp16 support.
  120. 2008-11-17 Nick Clifton <nickc@redhat.com>
  121. * as.c (parse_args): Update copyright year.
  122. 2008-11-14 Mat Hostetter <mat@lcs.mit.edu>
  123. * read.c (emit_expr): Grow frag before filling it so that
  124. dot_value remains valid.
  125. 2008-11-14 Peter Jansen <pwjansen@yahoo.com>
  126. PR 7026
  127. * config/tc-arm.c: Ensure that all uses of as_bad have a
  128. formatting string.
  129. 2008-11-12 Hans-Peter Nilsson <hp@axis.com>
  130. * config/tc-cris.c (cris_number_to_imm): Except for
  131. BFD_RELOC_NONE, always set contents. Where previously this was
  132. skipped, set contents to 0.
  133. PR gas/7025
  134. * input-scrub.c (input_scrub_include_sb): Make the position
  135. after the input have defined contents, a 0 character.
  136. * config/tc-cris.c (cris_relax_frag): Add missing case for
  137. ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
  138. PR gas/7020
  139. * read.c (read_a_source_file): Rearrange evaluation order when
  140. looking for '=' to avoid conditional on undefined contents of
  141. input_line_pointer[1].
  142. 2008-11-06 Adam Nemet <anemet@caviumnetworks.com>
  143. * config/tc-mips.c (COP_INSN): Change logic to always return false
  144. for FP instructions.
  145. 2008-11-06 Chao-ying Fu <fu@mips.com>
  146. * config/tc-mips.c (validate_mips_insn): Add case '1'.
  147. (mips_ip): Add case '1' to process sync type.
  148. 2008-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>
  149. * configure.tgt: Add m32c-*-rtems* and m32r-*-rtems*.
  150. 2008-11-04 Sterling Augustine <sterling@tensilica.com>
  151. * config/tc-xtensa.c (tinsn_check_arguments): Check for multiple
  152. writes to the same register.
  153. 2008-11-04 Sterling Augustine <sterling@tensilica.com>
  154. * config/tc-xtensa.c (xtensa_j_opcode): New.
  155. (xg_instruction_matches_option_term): Handle "FREEREG" option.
  156. (xg_build_to_insn): Likewise. Update renamed tls_reloc reference.
  157. (md_begin): Initialize xtensa_j_opcode.
  158. (md_assemble): Update renamed tls_reloc reference. Handle "j.l".
  159. (xg_assemble_vliw_tokens): Save free_reg info in the frag.
  160. (tinsn_immed_from_frag): Get free_reg info back out of the frag.
  161. (vinsn_to_insnbuf): Update renamed tls_reloc references.
  162. Distinguish extra argument for "FREEREG" from extra TLS argument.
  163. * config/tc-xtensa.h (struct xtensa_frag_type): Add free_reg field.
  164. * config/xtensa-istack.h (struct tinsn_struct): Rename tls_reloc
  165. field to extra_arg.
  166. * config/xtensa-relax.c (widen_spec_list): Add rules to relax "j.l".
  167. (build_transition): Handle "FREEREG" operand.
  168. * config/xtensa-relax.h (enum op_type): Add OP_FREEREG.
  169. 2008-10-31 Alan Modra <amodra@bigpond.net.au>
  170. * po/id.po: Update.
  171. 2008-10-24 Maciej W. Rozycki <macro@linux-mips.org>
  172. * config/tc-mips.c (mips_cpu_info_table): Move the MIPS64r2
  173. comment so that Broadcom SB-1 cores are in the MIPS64 section.
  174. 2008-10-21 Alan Modra <amodra@bigpond.net.au>
  175. * config/tc-bfin.c (gencode, allocate): Remove unnecessary cast.
  176. * config/tc-ns32k.c (bit_fix_new): Likewise.
  177. * config/tc-m68k.c (md_begin): Likewise.
  178. * hash.c (hash_insert, hash_jam): Likewise.
  179. * symbols.c (symbol_create, local_symbol_make): Likewise.
  180. * frags.c (frag_alloc): Likewise.
  181. 2008-10-20 Jay Krell <jay.krell@cornell.edu>
  182. * config/bfin-parse.y: Use C style comments.
  183. * config/tc-bfin.c: Likewise.
  184. * config/tc-m68k.c: Likewise.
  185. * config/tc-mips.c: Likewise.
  186. 2008-10-12 H.J. Lu <hongjiu.lu@intel.com>
  187. * config/tc-i386.c (processor_type): Moved to tc-i386.h.
  188. (cpu_arch_tune): Make it global.
  189. (cpu_arch_isa): Likewise.
  190. (cpu_arch_isa_flags): Likewise.
  191. (i386_align_code): Check fragP->tc_frag_data.isa,
  192. fragP->tc_frag_data.isa_flags and cpu_arch_tune instead of
  193. cpu_arch_isa, cpu_arch_isa_flags and cpu_arch_tune,
  194. respectively.
  195. * config/tc-i386.h (processor_type): Moved from tc-i386.c.
  196. (cpu_arch_tune): New.
  197. (cpu_arch_isa): Likewise.
  198. (cpu_arch_isa_flags): Likewise.
  199. (i386_tc_frag_data): Likewise.
  200. (TC_FRAG_TYPE): Likewise.
  201. (TC_FRAG_INIT): Likewise.
  202. 2008-10-09 Bob Wilson <bob.wilson@acm.org>
  203. * doc/as.texinfo (Pseudo Ops): Swap order of Comm and CFI menu entries.
  204. (Altmacro, Comm, Loc, Loc_mark_labels, List, MRI, PopSection, Sleb128):
  205. Moved into alphabetical order.
  206. 2008-10-09 Bob Wilson <bob.wilson@acm.org>
  207. * doc/as.texinfo (Dot): Expand no-space-dir conditional to include
  208. a complete sentence.
  209. (Pseudo Ops): Put conditionals around Skip and Space menu entries.
  210. (Line): Remove conditional declaration of Ln node and section here.
  211. Put aout-bout description inside the no-line-dir conditional.
  212. (Skip, Space): Use a separate conditional for each node.
  213. 2008-10-09 Bob Wilson <bob.wilson@acm.org>
  214. * doc/as.texinfo (Pseudo Ops): Remove no-file-dir conditional around
  215. menu entry for File; remove version-specific .file operands from menu
  216. description. Replace "LNS directives" menu entry with new entries
  217. for "Loc" and "Loc_mark_labels".
  218. (LNS directives): Split into separate nodes for each directive.
  219. (Loc): New node for .loc directive. Mention that this directive
  220. is for DWARF2 and add a missing article.
  221. (Loc_mark_labels): Likewise for .loc_mark_labels.
  222. (File): Change this node to describe both the default version and
  223. the DWARF2 version of .file. Move the no-file-dir conditional to
  224. include only the default version.
  225. 2008-10-09 Eric Botcazou <ebotcazou@adacore.com>
  226. * dw2gencfi.c (cfi_finish): Deal with md_fix_up_eh_frame.
  227. * config/tc-i386.h (md_fix_up_eh_frame): Define on Solaris.
  228. (i386_solaris_fix_up_eh_frame): Declare.
  229. * config/tc-i386.c (i386_solaris_fix_up_eh_frame): New function.
  230. 2008-10-09 Nick Clifton <nickc@redhat.com>
  231. PR 6944
  232. * doc/as.texinfo (Dollar Local Labels): Correct description of
  233. dollar local labels to show that the colon suffix is still
  234. needed.
  235. 2008-10-08 Nick Clifton <nickc@redhat.com>
  236. * configure.in (ALL_LINGUAS): Add "id".
  237. * configure: Regenerate.
  238. * po/id.po: New Indonesian translation.
  239. 2008-10-07 H.J. Lu <hongjiu.lu@intel.com>
  240. * read.c (pseudo_set): Don't allow global register symbol only
  241. if TC_GLOBAL_REGISTER_SYMBOL_OK is undefined.
  242. * symbols.c (S_SET_EXTERNAL): Likewise.
  243. * config/tc-mmix.h (TC_GLOBAL_REGISTER_SYMBOL_OK): Defined.
  244. * doc/internals.texi: Document TC_GLOBAL_REGISTER_SYMBOL_OK.
  245. 2008-10-06 Bob Wilson <bob.wilson@acm.org>
  246. * doc/as.texinfo (Local): New description of ELF .local directive.
  247. 2008-10-06 Nick Clifton <nickc@redhat.com>
  248. PR 6926
  249. * read.c (get_line_sb): Renamed to get_non_macro_line_sb.
  250. (_find_end_of_line): Add extra parameter indicating if the line is
  251. inside a macro. If it is then do not allow the @ character to be
  252. treated as a line separator character.
  253. (read_a_source): Update use of _find_end_of_line.
  254. (find_end_of_line): Likewise.
  255. (s_irp): Update use of get_line_sb.
  256. (s_macro): Likewise.
  257. (do_repeat): Likewise.
  258. (get_line_sb): New function. Like the old version of get_line_sb
  259. except that it takes an extra parameter indicating whether the
  260. line is inside a macro.
  261. (get_macro_line_sb): New function.
  262. 2008-10-04 Hans-Peter Nilsson <hp@axis.com>
  263. * config/tc-cris.c: Update all comments regarding explicit relocations
  264. to, besides PIC, also imply TLS or to say "relocation specifier" or
  265. similar.
  266. (RELOC_SUFFIX_CHAR): Rename from PIC_SUFFIX_CHAR. Change all callers.
  267. (cris_get_reloc_suffix): Rename from cris_get_pic_suffix. Change all
  268. callers. Also handle TLS relocs.
  269. (cris_get_specified_reloc_size): Rename from cris_get_pic_reloc_size.
  270. Change all callers. Also handle TLS relocs.
  271. (tls): New constant.
  272. (cris_process_instruction): Check for non-PIC TLS relocations and
  273. adjust message when emitting error message about relocation not
  274. fitting.
  275. (get_autoinc_prefix_or_indir_op): Also check for relocation suffix
  276. when tls is true.
  277. (get_3op_or_dip_prefix_op): Ditto.
  278. (cris_number_to_imm, tc_gen_reloc): Handle TLS relocs like PIC relocs.
  279. 2008-10-03 Kazu Hirata <kazu@codesourcery.com>
  280. * listing.c (buffer_line): Open the source file with FOPEN_RB.
  281. Manually process line ends.
  282. 2008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
  283. Nick Clifton <nickc@redhat.com>
  284. * config/tc-tic4x.c (tic4x_globl): Call S_SET_EXTERNAL as well as
  285. S_SET_STORAGE_CLASS.
  286. 2008-09-30 Wesley W. Terpstra <wesley@terpstra.ca>
  287. Nick Clifton <nickc@redhat.com>
  288. * coffgen.c (coff_write_symbols): Check to see if a symbol's flags
  289. do not match it class and if necessary update the class.
  290. (null_error_handler): New function. Suppresses the generation of
  291. bfd error messages.
  292. * coff64-rs6000.c (bfd_xcoff_backend_data): Update comment.
  293. 2008-09-30 Alan Modra <amodra@bigpond.net.au>
  294. * Makefile.am: Run "make dep-am".
  295. * Makefile.in: Regenerate.
  296. 2008-09-29 Nick Clifton <nickc@redhat.com>
  297. * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
  298. tc_cfi_emit_pcrel_expr macro.
  299. 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
  300. Steve Ellcey <sje@cup.hp.com>
  301. * configure: Regenerate for new libtool.
  302. * aclocal.m4: Ditto.
  303. * Makefile.in: Ditto.
  304. * doc/Makefile.in: Ditto.
  305. 2008-09-29 Nick Clifton <nickc@redhat.com>
  306. PR 6878
  307. * app.c (do_scrub_chars): Only issue warnings about tick
  308. characters detected in symbol strings if hex ticks are supported.
  309. 2008-09-29 Nick Clifton <nickc@redhat.com>
  310. * dw2gencfi.c (output_cfi_insn): Fix typo in invocation of
  311. tc_cfi_emit_pcrel_expr macro.
  312. 2008-09-28 Daniel Jacobowitz <dan@codesourcery.com>
  313. * NEWS: Mention .cfi_val_encoded_addr.
  314. 2008-09-26 Eric Botcazou <ebotcazou@adacore.com>
  315. * Makefile.am (TARG_ENV_HFILES): Add config/te-solaris.h.
  316. * Makefile.in (TARG_ENV_HFILES): Likewise.
  317. * configure.tgt (Solaris targets): Set em=solaris.
  318. * config/te-solaris.h: New file.
  319. 2008-09-26 Jie Zhang <jie.zhang@analog.com>
  320. * config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
  321. 2008-09-24 Richard Henderson <rth@redhat.com>
  322. * dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
  323. (struct cfi_insn_data): Add ea member.
  324. (CFI_val_encoded_addr, dot_cfi_val_encoded_addr): New.
  325. (output_cfi_insn): Handle CFI_val_encoded_addr.
  326. (select_cie_for_fde): Don't match CFI_val_encoded_addr.
  327. * doc/as.texinfo (.cfi_val_encoded_addr): Document.
  328. 2008-09-25 Alan Modra <amodra@bigpond.net.au>
  329. PR 6913
  330. * listing.c (print_options): Don't call fprintf without format string.
  331. 2008-09-19 Alan Modra <amodra@bigpond.net.au>
  332. * write.c (TC_FORCE_RELOCATION_SUB_LOCAL): Heed md_register_arithmetic.
  333. (TC_VALIDATE_FIX_SUB): Likewise.
  334. * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
  335. * config/tc-hppa.h (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
  336. * config/tc-mn10300.h (TC_VALIDATE_FIX_SUB): Likewise.
  337. * config/tc-sh.h (TC_VALIDATE_FIX_SUB): Likewise.
  338. (TC_FORCE_RELOCATION_SUB_LOCAL): Likewise.
  339. * config/tc-sh64.h (TC_VALIDATE_FIX_SUB): Likewise.
  340. * config/tc-xtensa.h (TC_VALIDATE_FIX_SUB): Likewise.
  341. * doc/internals.texi (TC_FORCE_RELOCATION_SUB_ABS,
  342. TC_FORCE_RELOCATION_SUB_LOCAL, TC_VALIDATE_FIX_SUB): Show new param.
  343. * write.c (md_register_arithmetic): Define.
  344. (fixup_segment): Adjust TC_FORCE_RELOCATION_SUB_ABS invocation.
  345. Modify error message when registers involved.
  346. (TC_FORCE_RELOCATION_SUB_ABS): Heed md_register_arithmetic.
  347. * config/tc-sh.h (TC_FORCE_RELOCATION_SUB_ABS): Likewise.
  348. 2008-09-15 Alan Modra <amodra@bigpond.net.au>
  349. * write.c (install_reloc): Correct EMIT_SECTION_SYMBOLS test.
  350. 2008-09-15 Alan Modra <amodra@bigpond.net.au>
  351. * config/tc-frv.c (md_apply_fix): Use abs_section_sym for
  352. relocs with no symbol.
  353. * config/tc-mmix.c (md_assemble): Mark fake symbol on
  354. BFD_RELOC_MMIX_BASE_PLUS_OFFSET as OK for use by relocs.
  355. (mmix_md_end): Likewise mark mmix reg contents section symbol.
  356. 2008-09-14 Chris Smith <chris@zxdesign.info>
  357. * config/tc-z80.c: Opcode generation of ld a,(bc) and ld a,(de) was
  358. broken, as the opcode of ld a,(de) was being emitted for both.
  359. 2008-09-12 Sterling Augustine <sterling@tensilica.com>
  360. * config/tc-xtensa.c (init_op_placement_info_table): Allow number of
  361. operands equal to MAX_INSN_ARGS.
  362. 2008-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
  363. * configure.in: Call AC_SYS_LARGEFILE.
  364. * config.in: Regenerate.
  365. * configure: Regenerate.
  366. 2008-09-09 Peter Bergner <bergner@vnet.ibm.com>
  367. * config/tc-ppc.c (ppc_setup_opcodes): Simplify POWER4/NOPOWER4 test.
  368. Remove POWER5 and POWER6 tests.
  369. 2008-09-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  370. * config/tc-hppa.c (hppa_regname_to_dw2regnum): Add register name to
  371. number support for 32-bit targets.
  372. 2008-09-08 Tristan Gingold <gingold@adacore.com>
  373. * NEWS: Add a marker for the 2.19 features.
  374. 2008-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  375. * config/tc-hppa.h (DIFF_EXPR_OK): Define for SOM target. Revise
  376. comment regarding use of difference expressions.
  377. (TC_FORCE_RELOCATION_SUB_LOCAL): Define to 1.
  378. * dw2gencfi.c (CFI_DIFF_EXPR_OK): Define if not defined.
  379. (dot_cfi_personality): Use CFI_DIFF_EXPR_OK instead of DIFF_EXPR_OK.
  380. (dot_cfi_lsda, output_cie, output_fde): Likewise.
  381. * config/tc-hppa.h (CFI_DIFF_EXPR_OK): Define.
  382. 2008-09-06 Richard Sandiford <rdsandiford@googlemail.com>
  383. * config/tc-mips.h (DWARF2_FDE_RELOC_SIZE): Define.
  384. 2008-09-03 Nick Clifton <nickc@redhat.com>
  385. * config/tc-i386.c (pe_lcomm_internal): New function. Allows the
  386. alignment field of the .lcomm directive to be optional.
  387. (pe_lcomm): New function. Pass pe_lcomm_internal to
  388. s_comm_internal.
  389. (md_pseudo_table): Implement .lcomm directive for COFF based
  390. targets.
  391. * doc/c-i386.texi (i386-Directives): New node. Used to document
  392. the .lcomm directive.
  393. 2008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  394. * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
  395. and NetBSD.
  396. 2008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
  397. * config/tc-avr.c (mcu_types): Add atmega16u4.
  398. * doc/c-avr.texi: Likewise.
  399. 2008-08-28 H.J. Lu <hongjiu.lu@intel.com>
  400. * config/tc-ia64.c (CR_IIB0): New.
  401. (CR_IIB1): Likewise.
  402. (cr): Add cr.iib0 and cr.iib1.
  403. (specify_resource): Handle IA64_RS_CR_IIB and CR_IIB0/CR_IIB1.
  404. 2008-08-28 Jan Beulich <jbeulich@novell.com>
  405. * config/tc-i386.c (md_assemble): Force number of displacement
  406. operands to zero when processing string instruction.
  407. (i386_index_check): Special-case string instruction operands. Don't
  408. fudge address prefix if there already was a memory operand. Fix
  409. error message to correctly reflect the addressing mode used.
  410. (i386_att_operand): Fix comment.
  411. (i386_intel_operand): Snapshot, clear, and restore base and index
  412. reg for each operand processed. Increment count of memory operands
  413. later.
  414. 2008-08-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
  415. * config/tc-hppa.c (is_SB_relative): New macro.
  416. (fix_new_hppa): Remove $segrel$ marker.
  417. (cons_fix_new_hppa): Set reloc type R_PARISC_SEGREL32 if expression is
  418. segment relative.
  419. * config/tc-hppa.h (tc_frob_symbol): Check for $segrel$.
  420. 2008-08-27 Jan Beulich <jbeulich@novell.com>
  421. * config/tc-i386.c (check_string): Use register_prefix for error
  422. message.
  423. (process_operands): Likewise.
  424. 2008-08-26 Mark Mitchell <mark@codesourcery.com>
  425. * c-arm.texi: Add tutorial on ARM unwinding pseudo ops.
  426. 2008-08-26 Jie Zhang <jie.zhang@analog.com>
  427. * config/bfin-parse.y (check_macfunc_option): Fix instruction
  428. mode checking.
  429. (asm_1): Check mode for 16-bit multiply instructions.
  430. 2008-08-24 Alan Modra <amodra@bigpond.net.au>
  431. * configure.in: Update a number of obsolete autoconf macros.
  432. * configure: Regenerate.
  433. * aclocal.m4: Regenerate.
  434. 2008-08-22 Nick Clifton <nickc@redhat.com>
  435. * config/tc-mcore.c (md_assemble): Increase length of name array
  436. to include terminating NUL.
  437. 2008-08-22 Jie Zhang <jie.zhang@analog.com>
  438. * config/bfin-lex.l (NUMBER): Protect special `.'.
  439. 2008-08-22 Alan Modra <amodra@bigpond.net.au>
  440. * symbols.c (symbol_clone): Ensure clones are not external.
  441. 2008-08-22 Alan Modra <amodra@bigpond.net.au>
  442. * config/tc-hppa.c (md_begin): Set BSF_KEEP for "dummy_symbol".
  443. 2008-08-21 Richard Henderson <rth@redhat.com>
  444. * dw2gencfi.c (DWARF2_FDE_RELOC_SIZE): New.
  445. (output_cie, output_fde): Use it.
  446. (DWARF2_EH_FRAME_READ_ONLY): New.
  447. (cfi_finish): Use it.
  448. * config/tc-hppa.h (DWARF2_FDE_RELOC_SIZE): Set to 8 for 64-bit.
  449. (DWARF2_CIE_DATA_ALIGNMENT): Change sign.
  450. (DWARF2_EH_FRAME_READ_ONLY): New.
  451. * config/tc-hppa.c (tc_gen_reloc): Generate pc-relative relocations
  452. from the results of DIFF_EXPR_OK manipulation.
  453. 2008-08-21 Sterling Augustine <sterling@tensilica.com>
  454. * config/xtensa-istack.h (MAX_INSN_ARGS): Increase to 64.
  455. 2008-08-20 Bob Wilson <bob.wilson@acm.org>
  456. * config/tc-xtensa.c (O_tlsfunc, O_tlsarg, O_tlscall): Define.
  457. (O_tpoff, O_dtpoff): Define.
  458. (suffix_relocs): Add entries for TLS suffixes.
  459. (xtensa_elf_cons): Check for invalid use of TLS relocations.
  460. (map_operator_to_reloc): Add is_literal parameter and use it to
  461. control translating TLS instruction relocations to the corresponding
  462. literal relocations.
  463. (xg_valid_literal_expression): Allow TLS operators.
  464. (xg_build_to_insn): Copy TLS operators from pseudo-instruction
  465. operands to generated literals.
  466. (xg_assemble_literal): Handle TLS operators. Update call to
  467. map_operator_to_reloc.
  468. (md_assemble): Handle CALLXn.TLS pseudo-instruction.
  469. (md_apply_fix): Handle TLS relocations.
  470. (emit_single_op): Handle TLS operators.
  471. (convert_frag_immed): Update call to map_operator_to_reloc.
  472. (vinsn_to_insnbuf): Emit relocations for TLS-related instructions.
  473. * config/xtensa-istack.h (tinsn_struct): Add tls_reloc field.
  474. * config/xtensa-relax.c (append_literal_op): Add src_op parameter
  475. to initialize the op_data field of the BuildOp.
  476. (build_transition): Use it here to record the source operand
  477. corresponding to a generated literal.
  478. * config/xtensa-relax.h (build_op): Comment op_data use for literals.
  479. 2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
  480. AVX Programming Reference (August, 2008)
  481. * config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
  482. (CPU_FLAGS_AVX_MATCH): Likewise.
  483. (CPU_FLAGS_32BIT_MATCH): Updated.
  484. (cpu_flags_match): Likewise.
  485. 2008-08-20 Alan Modra <amodra@bigpond.net.au>
  486. PR 6848
  487. * write.c (install_reloc): Check that reloc symbols have been
  488. written.
  489. (set_symtab): Mark symbols with BSF_KEEP.
  490. 2008-08-18 H.J. Lu <hongjiu.lu@intel.com>
  491. * config/tc-i386.c (i386_align_code): Fix a comment typo.
  492. 2008-08-15 Alan Modra <amodra@bigpond.net.au>
  493. PR 6526
  494. * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS.
  495. * Makefile.in: Regenerate.
  496. * aclocal.m4: Regenerate.
  497. * config.in: Regenerate.
  498. * configure: Regenerate.
  499. * doc/Makefile.in: Regenerate.
  500. 2008-08-14 Alan Modra <amodra@bigpond.net.au>
  501. * config/tc-tic4x.c (tic4x_operands_parse): Make static.
  502. 2008-08-13 Ben Elliston <bje@au.ibm.com>
  503. * doc/as.texinfo (Align): Document the PowerPC behaviour.
  504. 2008-08-13 Alan Modra <amodra@bigpond.net.au>
  505. * as.c, as.h, ecoff.c, hash.c, macro.c, symbols.c, config/obj-evax.c,
  506. config/obj-som.c, config/tc-alpha.c, config/tc-arm.c, config/tc-bfin.c,
  507. config/tc-bfin.h, config/tc-crx.c, config/tc-frv.c, config/tc-frv.h,
  508. config/tc-hppa.h, config/tc-i386.c, config/tc-i860.c, config/tc-i960.h,
  509. config/tc-ia64.c, config/tc-ia64.h, config/tc-m32c.c, config/tc-m32c.h,
  510. config/tc-m68k.c, config/tc-maxq.c, config/tc-s390.c, config/tc-s390.h,
  511. config/tc-sparc.c, config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
  512. config/tc-tic4x.c, config/tc-tic4x.h, config/tc-tic54x.c,
  513. config/tc-tic54x.h, config/tc-vax.c, doc/internals.texi: Banish PARAMS
  514. and PTR. Convert to ISO C. Delete unnecessary forward declarations.
  515. 2008-08-12 Alan Modra <amodra@bigpond.net.au>
  516. * config/tc-arm.c (s_unreq): Adjust hash_delete call.
  517. * config/tc-ia64.c (dot_rot): Likewise.
  518. 2008-08-11 Alan Modra <amodra@bigpond.net.au>
  519. PR 6575
  520. * hash.c: Expand PTR to void *.
  521. (hash_delete): Add "freeme" parameter. Call obstack_free.
  522. * hash.h: Expand PTR to void *.
  523. (hash_delete): Update prototype.
  524. * macro.c (macro_expand_body): hash_delete LOCALs from formal_hash.
  525. * config/tc-tic54x.c (tic54x_remove_local_label): Update hash_delete
  526. call.
  527. (subsym_substitute): Likewise.
  528. * doc/internals.texi (hash_delete): Update.
  529. 2008-08-08 Anatoly Sokolov <aesok@post.ru>
  530. * config/tc-avr.c (mcu_types): Add avr25, avr31, avr35, and avr51
  531. architectures. Reorganize list to put mcu types in correct
  532. architectures and to order list same as in GCC. Use new ISA
  533. definitions in include/opcode/avr.h.
  534. * doc/c-avr.texi: Add avr25, avr31, avr35, and avr51 architecture
  535. descriptions. Reorganize descriptions to put mcu types in correct
  536. architectures and to order lists same as in GCC.
  537. 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com>
  538. Daniel Jacobowitz <dan@codesourcery.com>
  539. * config/tc-mips.c (OPTION_CALL_NONPIC): New macro.
  540. (OPTION_NON_SHARED, OPTION_XGOT, OPTION_MABI, OPTION_32)
  541. (OPTION_N32, OPTION_64, OPTION_MDEBUG, OPTION_NO_MDEBUG)
  542. (OPTION_PDR, OPTION_NO_PDR, OPTION_MVXWORKS_PIC): Bump by 1.
  543. (md_longopts): Add -call_nonpic.
  544. (md_parse_option): Handle OPTION_CALL_NONPIC.
  545. (md_show_usage): Add -call_nonpic.
  546. 2008-08-08 Sterling Augustine <sterling@tensilica.com>
  547. * config/tc-xtensa.c (exclude_section_from_property_tables): New.
  548. (xtensa_create_property_segments): Use it.
  549. (xtensa_create_xproperty_segments): Likewise.
  550. 2008-08-08 Alan Modra <amodra@bigpond.net.au>
  551. * doc/internals.texi (DWARF2_FORMAT): Update for 2008-08-04 change.
  552. 2008-08-06 Richard Sandiford <rdsandiford@googlemail.com>
  553. * config/tc-mips.c (mips16_reloc_p, got16_reloc_p, hi16_reloc_p)
  554. (lo16_reloc_p): New functions.
  555. (reloc_needs_lo_p): Use hi16_reloc_p and got16_reloc_p to
  556. generalize relocation checks.
  557. (matching_lo_reloc): New function.
  558. (fixup_has_matching_lo_p): Use it.
  559. (mips16_mark_labels): Don't clobber a symbol's visibility.
  560. (append_insn): Use hi16_reloc_p and lo16_reloc_p.
  561. (mips16_ip): Handle BFD_RELOC_MIPS16_GOT16 and BFD_RELOC_MIPS16_CALL16.
  562. (md_apply_fix): Likewise.
  563. (mips16_percent_op): Add %got and %call16.
  564. (mips_frob_file): Use got16_reloc_p to generalize relocation checks.
  565. Use matching_lo_reloc.
  566. (mips_force_relocation): Use hi16_reloc_p and lo16_reloc_p to
  567. generalize relocation checks.
  568. (mips_fix_adjustable): Use lo16_reloc_p to generalize relocation
  569. checks.
  570. 2008-08-06 DJ Delorie <dj@redhat.com>
  571. * NEWS: Mention these changes.
  572. * config/tc-h8300.h (H_TICK_HEX): Define.
  573. * config/tc-h8300.c (OPTION_H_TICK_HEX): New.
  574. (md_longopts): Add "-h-tick-hex".
  575. (md_parse_option): Support it.
  576. * doc/c-h8300.texi (H8/300 Options): Document it.
  577. * doc/as.texinfo (Overview): Likewise.
  578. * config/tc-sh.h (H_TICK_HEX): Define.
  579. * config/tc-sh.c (OPTION_H_TICK_HEX): New.
  580. (md_longopts): Add "-h-tick-hex".
  581. (md_parse_option): Support it.
  582. * doc/c-sh.texi (SH Options): Document it.
  583. * doc/c-sh64.texi (SH64 Options): Document it.
  584. * doc/as.texinfo (Overview): Likewise.
  585. 2008-08-05 Alan Modra <amodra@bigpond.net.au>
  586. PR gas/6656
  587. * dwarf2dbg.c (dwarf2_directive_file): Disable gas generated
  588. debug info if we see compiler generated debug info.
  589. (dwarf2_directive_loc): Likewise. Remove redundant debug_type test.
  590. 2008-08-04 Alan Modra <amodra@bigpond.net.au>
  591. * dwarf2dbg.c: Remove superfluous forward function declarations.
  592. (DWARF2_FORMAT): Add section arg.
  593. (out_header): New function, split out from..
  594. (out_debug_line): ..here.
  595. (out_debug_aranges): Use out_header.
  596. (out_debug_abbrev): Add info_seg and line_seg args. Use
  597. DW_FORM_data8 (for DW_AT_stmt_list) if line_seg is 64-bit.
  598. (out_debug_info): Use out_header. Output 8 byte DW_AT_stmt_list
  599. if line_seg is 64-bit.
  600. (dwarf2_finish): Adjust out_debug_abbrev call.
  601. * config/tc-mips.h (DWARF2_FORMAT, mips_dwarf2_format): Add sec arg.
  602. * config/tc-mips.c (mips_dwarf2_format): Likewise.
  603. 2008-08-04 Alan Modra <amodra@bigpond.net.au>
  604. * Makefile.am (POTFILES.in): Set LC_ALL=C.
  605. * Makefile.in: Regenerate.
  606. * po/POTFILES.in: Regenerate.
  607. 2008-08-01 Peter Bergner <bergner@vnet.ibm.com>
  608. * config/tc-ppc.c (parse_cpu): Rename altivec_or_spe to retain_flags.
  609. Handle -mvsx and -mpower7.
  610. (md_show_usage): Document -mpower7 and -mvsx.
  611. * doc/as.texinfo (Target PowerPC): Document -mvsx.
  612. * doc/c-ppc.texi (PowerPC-Opts): Document -mvsx and -mpower7.
  613. 2008-07-31 Peter Bergner <bergner@vnet.ibm.com>
  614. * config/tc-ppc.c (parse_cpu) <power6>: Accept Altivec instructions.
  615. <cell>: Likewise.
  616. 2008-07-30 Michael J. Eager <eager@eagercon.com>
  617. * config/tc-ppc.c (parse_cpu): Separate handling of -m403/405.
  618. (md_show_usage): Likewise.
  619. 2008-07-30 Alan Modra <amodra@bigpond.net.au>
  620. * messages.c, symbols.c, write.c: Silence gcc warnings.
  621. 2008-07-28 Ineiev <ineiev@yahoo.co.uk>
  622. * config/tc-i386.c (operand_type_check): Warning fix.
  623. 2008-07-26 Michael Eager <eager@eagercon.com>
  624. * doc/as.texinfo: Add description of single-precision attribute.
  625. 2008-07-24 Jie Zhang <jie.zhang@analog.com>
  626. * config/bfin-parse.y (asm_1): Error if plain symbol is used
  627. as load/store offset.
  628. 2008-07-22 Chao-ying Fu <fu@mips.com>
  629. * config/tc-mips.c (mips_ip): Reset s to argsStart.
  630. 2008-07-22 Jie Zhang <jie.zhang@analog.com>
  631. * config/tc-bfin.c (bfin_gen_loop): Remove loop symbol.
  632. 2008-07-21 DJ Delorie <dj@redhat.com>
  633. * config/tc-h8300.c (fix_operand_size): Use the default size
  634. specified by the .lbranch/.sbranch pseudos.
  635. 2008-07-18 DJ Delorie <dj@redhat.com>
  636. * config/tc-m32c.h (H_TICK_HEX): Define.
  637. * config/tc-m32c.c (OPTION_H_TICK_HEX): Define.
  638. (md_longopts): Add support for it.
  639. (md_parse_option): Likewise.
  640. * doc/as.texinfo (Overview): Add new m32c options.
  641. * doc/c-m32c.texi (M32C-Modifiers): Likewise
  642. * as.h: (enable_h_tick_hex): New.
  643. * app.c (enable_h_tick_hex): New.
  644. (LEX_IS_H): New.
  645. (do_scrub_begin): Mark 'H' and 'h' as special if enable_h_tick_hex.
  646. (do_scrub_chars): If enable_h_tick_hex and 'h', check for H'00
  647. style hex constants and convert the input stream to 0x00 style.
  648. (do_scrub_chars): If a 'X style character constant is found after
  649. a symbol character (like you're or X'00), warn the user.
  650. 2008-07-10 Richard Sandiford <rdsandiford@googlemail.com>
  651. * config/tc-mips.c (mips16_mark_labels): Use ELF_ST_SET_MIPS16.
  652. (mips_fix_adjustable): Likewise.
  653. (mips_frob_file_after_relocs): Likewise.
  654. 2008-07-08 Nathan Sidwell <nathan@codesourcery.com>
  655. * config/tc-m68k.c (m68k_set_cpu, m68k_set_arch): Don't complain
  656. about overriding an earlier setting.
  657. 2008-07-07 Adam Nemet <anemet@caviumnetworks.com>
  658. * config/tc-mips.c (NO_ISA_COP): New macro.
  659. (COP_INSN): New macro.
  660. (is_opcode_valid): Use them.
  661. (macro) <ld_st>: Use them. Don't accept coprocessor load store
  662. insns based on the ISA if CPU is NO_ISA_COP.
  663. <copz>: Likewise for coprocessor operations.
  664. 2008-07-07 Paul Brook <paul@codesourcery.com>
  665. * config/tc-arm.c (arm_fix_adjustable): Don't adjust MOVW/MOVT
  666. relocations.
  667. 2008-07-07 Ralf Corsépius <ralf.corsepius@rtems.org>
  668. * configure.tgt: Add bfin-*-rtems*.
  669. 2008-07-04 Alan Modra <amodra@bigpond.net.au>
  670. * config/tc-spu.c (md_apply_fix): Handle fully resolved
  671. BFD_RELOC_32_PCREL, BFD_RELOC_SPU_HI16 and BFD_RELOC_SPU_LO16.
  672. 2008-06-25 Peter Bergner <bergner@vnet.ibm.com>
  673. * config/tc-ppc.c (parse_cpu): Handle -m464.
  674. (md_show_usage): Likewise.
  675. 2008-06-24 Eric B. Weddington <eric.weddington@atmel.com>
  676. Add support for ATtiny13A.
  677. * config/tc-avr.c (mcu_types): Add attiny13a.
  678. * doc/c-avr.texi: Likewise.
  679. 2008-06-24 Bob Wilson <bob.wilson@acm.org>
  680. Alan Modra <amodra@bigpond.net.au>
  681. * write.c (relax_segment <rs_org>): Include current stretch
  682. value when calculating whether .org is backwards.
  683. 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  684. * configure: Regenerate.
  685. 2008-06-17 Nick Clifton <nickc@redhat.com>
  686. * app.c (do_scrub_chars): Do not UNGET an EOF value.
  687. 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com>
  688. PR gas/6607
  689. * config/tc-mmix.c (s_loc): Assume "negative" addresses belong to
  690. text_section. Do the "stepping backwards" test for text_section
  691. using unsigned operands.
  692. 2008-06-13 Peter Bergner <bergner@vnet.ibm.com>
  693. * config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
  694. (ppc_insert_operand): Likewise.
  695. (ppc_machine): Likewise.
  696. * config/tc-ppc.h: #include "opcode/ppc.h"
  697. (struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
  698. (ppc_cpu): Update extern decl.
  699. 2008-06-12 Adam Nemet <anemet@caviumnetworks.com>
  700. * config/tc-mips.c (validate_mips_insn): Handle field descriptors
  701. +x, +X, +p, +P, +s, +S.
  702. (mips_ip): Likewise.
  703. * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
  704. (mips_ip): Likewise.
  705. (macro_build): Likewise.
  706. (CPU_HAS_SEQ): New macro.
  707. (macro2) <M_SEQ_I, M_SNE_I>: Use it. Emit seq/sne and seqi/snei.
  708. 2008-06-09 Eric B. Weddington <eric.weddington@atmel.com>
  709. * config/tc-avr.c (mcu_types): Remove support for ATmega32HVB device.
  710. * doc/c-avr.texi: Likewise.
  711. 2008-06-04 Nick Clifton <nickc@redhat.com>
  712. * app.c (do_scrub_chars): Do not UNGET an EOF value.
  713. 2008-06-03 H.J. Lu <hongjiu.lu@intel.com>
  714. * config/tc-i386.c (set_sse_check): New.
  715. (md_pseudo_table): Add "sse_check".
  716. 2008-06-03 Paul Brook <paul@codesourcery.com>
  717. * config/tc-arm.c (do_t_rbit): Populate both rm fields.
  718. 2008-05-30 Nick Clifton <nickc@redhat.com>
  719. PR 5523
  720. * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
  721. relocs here.
  722. 2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
  723. * config/tc-mips.c (mips_cpu_info_table): Move records for
  724. ST Loongson-2E/2F processors to a better place.
  725. 2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
  726. PR gas/6518
  727. * config/tc-i386.c (match_template): Report ambiguous operand
  728. size, not invalid suffix when there is no match in Intel
  729. syntax.
  730. 2008-05-22 Paul Brook <paul@codesourcery.com>
  731. * config/tc-arm.c (parse_cond): Covert to lowercase before matching.
  732. 2008-05-21 I-Jui Sung <ijsung@gmail.com>
  733. * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
  734. compatible cores: fa526, fa626, fa626te, fa726te.
  735. * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
  736. fa726te} options.
  737. 2008-05-14 Alan Modra <amodra@bigpond.net.au>
  738. * Makefile.am: Run "make dep-am".
  739. * Makefile.in: Regenerate.
  740. * doc/Makefile.in: Regenerate.
  741. * po/POTFILES.in: Regenerate.
  742. 2008-05-09 Catherine Moore <clm@codesourcery.com>
  743. * config/tc-mips.c (mips_frob_file): Don't match MIPS16 relocs
  744. with non-MIPS16 relocs.
  745. 2008-05-09 Chao-ying Fu <fu@mips.com>
  746. * config/tc-mips.c (md_begin): Use strncmp to compare TARGET_OS, in
  747. case that some characters append at the end of the name.
  748. (mips_ip): Likewise.
  749. (s_change_sec): Likewise.
  750. (md_section_align): Likewise.
  751. 2008-05-07 Bob Wilson <bob.wilson@acm.org>
  752. * config/tc-xtensa.c (xtensa_create_property_segments): Use
  753. xtensa_make_property_section instead of xtensa_get_property_section.
  754. (xtensa_create_xproperty_segments): Likewise.
  755. 2008-05-02 H.J. Lu <hongjiu.lu@intel.com>
  756. * NEWS: Mention XSAVE, EPT and MOVBE.
  757. * config/tc-i386.c (cpu_arch): Add .movbe and .ept.
  758. (md_show_usage): Add .movbe and .ept.
  759. * doc/c-i386.texi: Add movbe and ept to -march=. Document
  760. .movbe and .ept.
  761. 2008-04-29 David S. Miller <davem@davemloft.net>
  762. * config/tc-sparc.c (v9a_asr_table): Fix order of softint entries.
  763. 2008-04-28 Adam Nemet <anemet@caviumnetworks.com>
  764. * config/tc-mips.c (file_mips_soft_float, file_mips_single_float):
  765. New statics.
  766. (OPTION_ELF_BASE): Make room for new option macros.
  767. (OPTION_SOFT_FLOAT, OPTION_HARD_FLOAT, OPTION_SINGLE_FLOAT,
  768. OPTION_DOUBLE_FLOAT): New option macros.
  769. (md_longopts): Add msoft-float, mhard-float, msingle-float and
  770. mdouble-float.
  771. (md_parse_option): Handle OPTION_SINGLE_FLOAT,
  772. OPTION_DOUBLE_FLOAT, OPTION_SOFT_FLOAT and OPTION_HARD_FLOAT.
  773. (md_show_usage): Add -msoft-float, -mhard-float, -msingle-float
  774. and -mdouble-float.
  775. (struct mips_set_options): New fields soft_float and single_float.
  776. (mips_opts): Initialized them. Add comment for each field
  777. initializer.
  778. (mips_after_parse_args): Set them based on file_mips_soft_float
  779. and file_mips_single_float.
  780. (s_mipsset): Add support for `.set softfloat', `.set hardfloat',
  781. `.set singlefloat' and `.set doublefloat'.
  782. (is_opcode_valid): New function to invoke OPCODE_IS_MEMBER.
  783. Handle single-float and soft-float instructions here.
  784. (macro_build, mips_ip): Use it instead of OPCODE_IS_MEMBER.
  785. (is_opcode_valid_16): New function.
  786. (mips16_ip): Use it instead of OPCODE_IS_MEMBER.
  787. (macro) <M_LDC1_AB, M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB,
  788. M_S_DOB>: Remove special-casing of r4650.
  789. * doc/c-mips.texi (-march=): Add Octeon.
  790. (MIPS Opts): Document -msoft-float and -mhard-float. Document
  791. -msingle-float and -mdouble-float.
  792. (MIPS floating-point): New section. Document `.set softfloat' and
  793. `.set hardfloat'. Document `.set singlefloat' and `.set
  794. doublefloat'.
  795. 2008-04-25 David S. Miller <davem@davemloft.net>
  796. * config/tc-sparc.c: Accept 'softint_clear' and 'softint_set'
  797. %asr aliases.
  798. * doc/c-sparc.texi: Consistently refer to architecture 'versions',
  799. rather than occaisionally 'levels'. Consistently refer to Sun's
  800. UNIX variant as SunOS, every version of Solaris is also SunOS.
  801. Document new 'softint_clear' and 'softint_set' aliases. Clarify
  802. which architecture versions support '%dcr', '%cq', and '%gl'. Add
  803. section on 32-bit/64-bit opcode translations.
  804. 2008-04-23 Mike Frysinger <vapier@gentoo.org>
  805. * Makefile.am (OBJ_FORMAT_CFILES): Add config/obj-fdpicelf.c.
  806. (OBJ_FORMAT_HFILES): Add config/obj-fdpicelf.h.
  807. (obj-fdpicelf.o): Define.
  808. * Makefile.in: Regenerate.
  809. * configure.tgt: Set bfd_gas to yes when fmt is fdpicelf.
  810. (bfin-*-*): Delete.
  811. (bfin-*-linux-uclibc): New; set fmt to fdpicelf and em to linux.
  812. (bfin-*-uclinux*): New; set fmt to elf and em to linux.
  813. * config/obj-fdpicelf.c: New.
  814. * config/obj-fdpicelf.h: Likewise.
  815. * config/tc-bfin.c (bfin_flags, bfin_pic_flag): Set default based on
  816. the OBJ_FDPIC_ELF define.
  817. (OPTION_NOPIC): Define.
  818. (md_longopts): Add mnopic and mno-fdpic.
  819. (md_parse_option): Handle OPTION_NOPIC.
  820. 2008-04-23 Paolo Bonzini <bonzini@gnu.org>
  821. * aclocal.m4: Regenerate.
  822. * configure: Regenerate.
  823. 2008-04-23 David S. Miller <davem@davemloft.net>
  824. * config/tc-sparc.c (v9a_asr_table): Add missing
  825. 'stick' and 'stick_cmpr', and document ordering rules
  826. of table.
  827. (tc_gen_reloc): Accept BFD_RELOC_SPARC_PC22 and
  828. BFD_RELOC_SPARC_PC10.
  829. * doc/c-sparc.texi: New section on Sparc constants.
  830. Add documentation for %stick and %stick_cmpr.
  831. 2008-04-22 David S. Miller <davem@davemloft.net>
  832. * config/obj-elf.c (obj_elf_section_type): Add prototype
  833. before obj_elf_section_word and add 'warn' arg.
  834. (obj_elf_section_word): Add type pointer arg, and if no #SECTION
  835. is matched, try checking for #SECTION_TYPE.
  836. (obj_elf_section): Adjust for new args.
  837. (obj_elf_type_name): New function.
  838. (obj_elf_type): Call it, and accept STT_foo number strings
  839. in .type statements as output by SunPRO compiler.
  840. 2008-04-22 H.J. Lu <hongjiu.lu@intel.com>
  841. * config/tc-i386.c (md_assemble): Don't check SSE instructions
  842. if noavx is 0.
  843. 2008-04-18 David S. Miller <davem@davemloft.net>
  844. * doc/c-sparc.texi: Add syntax section.
  845. 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
  846. * config/tc-i386.c (build_modrm_byte): Don't check FMA to swap
  847. REG and NDS for instructions with immediate operand.
  848. 2008-04-18 H.J. Lu <hongjiu.lu@intel.com>
  849. * config/tc-i386.c (build_modrm_byte): Swap REG and NDS for
  850. FMA.
  851. 2008-04-16 David S. Miller <davem@davemloft.net>
  852. * config/tc-sparc.c (sparc_ip): Add support for gotdata mnemonics
  853. and relocation generation.
  854. (tc_gen_reloc): Likewise.
  855. 2008-04-15 Andrew Stubbs <andrew.stubbs@st.com>
  856. * config/tc-sh.c (md_apply_fix): Make sure BFD_RELOC_SH_PCRELIMM8BY4
  857. relocations are properly aligned, and not negative.
  858. 2008-04-15 Khem Raj <kraj@mvista.com>
  859. * doc/tc-arm.texi: Fix fnstart and fnend directive names.
  860. 2008-04-14 Edmar Wienskoski <edmar@freescale.com>
  861. * config/tc-ppc.c (parse_cpu): Handle "e500mc". Extend "e500" to
  862. accept e500mc instructions.
  863. (md_show_usage): Document -me500mc.
  864. 2008-04-11 Nick Clifton <nickc@redhat.com>
  865. * listing.c (print_timestamp): Use localtime rather than
  866. localtime_r since not all build environments provide the latter.
  867. 2008-04-10 H.J. Lu <hongjiu.lu@intel.com>
  868. * NEWS: Mention -msse-check=[none|error|warning].
  869. * config/tc-i386.c (sse_check): New.
  870. (OPTION_MSSE_CHECK): Likewise.
  871. (md_assemble): Check SSE instructions if needed.
  872. (md_longopts): Add -msse-check.
  873. (md_parse_option): Handle OPTION_MSSE_CHECK.
  874. (md_show_usage): Show -msse-check=[none|error|warning].
  875. * doc/c-i386.texi: Document -msse-check=[none|error|warning].
  876. 2008-04-10 Santiago Urueña <suruena@gmail.com>
  877. * listing.c: Add -ag listing flag to show general information in
  878. listings such as gas version, passed options, and time stamp.
  879. (listing_general_info): New function.
  880. (print_options): New function.
  881. (print_single_option): New function.
  882. (print_timestamp): New function.
  883. (MAX_DATELEN): Define.
  884. (listing_print): Add call to listing_general_info.
  885. * listing.h (LISTING_GENERAL): Define.
  886. (listing_print): Add new parameter.
  887. * as.c (show_usage): Print new switch.
  888. (parse_args): Parse new switch.
  889. (main): Pass command line on to listing_print.
  890. * NEWS: Mention this new feature.
  891. * doc/as.texinfo: Document the new sub-option.
  892. 2008-04-08 Alan Modra <amodra@bigpond.net.au>
  893. * dwarf2dbg.c (dwarf2_emit_insn): Simplify test before dwarf2_where
  894. call. Delete out of date comment.
  895. (dwarf2_consume_line_info): Always clear dwarf2_loc_directive_seen.
  896. (dwarf2_emit_label): Don't emit unless there has been a previous
  897. .file or we are outputting assembler generated debug.
  898. dwarf2_consume_line_info after emitting line info, not before.
  899. (out_debug_info): Simplify files_in_use test.
  900. 2008-04-07 H.J. Lu <hongjiu.lu@intel.com>
  901. * config/tc-i386.c (parse_real_register): Return AVX register
  902. only if AVX is enabled.
  903. 2008-04-07 Kaz Kojima <kkojima@rr.iij4u.or.jp>
  904. PR gas/6043
  905. * config/tc-sh64.c (shmedia_md_pcrel_from_section): Use
  906. md_pcrel_from_section for BFD_RELOC_64 and BFD_RELOC_64_PCREL.
  907. 2008-04-04 Adrian Bunk <bunk@stusta.de>
  908. Bob Wilson <bob.wilson@acm.org>
  909. * config/tc-xtensa.c (xg_apply_fix_value): Check return code from
  910. call to decode_reloc.
  911. 2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
  912. * NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
  913. * config/tc-i386.c (cpu_arch): Add .pclmul.
  914. (md_show_usage): Replace clmul with pclmul.
  915. * doc/c-i386.texi: Likewise.
  916. 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
  917. * NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
  918. * doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
  919. Document -msse2avx, .avx, .aes, .clmul and .fma.
  920. * config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
  921. (vex_prefix): Likewise.
  922. (sse2avx): Likewise.
  923. (CPU_FLAGS_ARCH_MATCH): Likewise.
  924. (CPU_FLAGS_64BIT_MATCH): Likewise.
  925. (CPU_FLAGS_32BIT_MATCH): Likewise.
  926. (CPU_FLAGS_PERFECT_MATCH): Likewise.
  927. (regymm): Likewise.
  928. (vex_imm4): Likewise.
  929. (fits_in_imm4): Likewise.
  930. (build_vex_prefix): Likewise.
  931. (VEX_check_operands): Likewise.
  932. (bad_implicit_operand): Likewise.
  933. (OPTION_MSSE2AVX): Likewise.
  934. (T_YMMWORD): Likewise.
  935. (_i386_insn): Add vex.
  936. (cpu_arch): Add .avx, .aes, .clmul and .fma.
  937. (cpu_flags_match): Changed to take a pointer to const template.
  938. Enable encoding SSE instructions with VEX prefix for -msse2avx.
  939. (match_mem_size): Also check ymmword.
  940. (operand_type_match): Clear ymmword.
  941. (md_begin): Allow '_' in mnemonic.
  942. (type_names): Add OPERAND_TYPE_VEX_IMM4.
  943. (process_immext): Update assert.
  944. (md_assemble): Don't call process_immext if sse2avx and immext
  945. are true. Call build_vex_prefix if vex is true.
  946. (parse_insn): Updated for cpu_flags_match.
  947. (swap_operands): Handle 5 operands.
  948. (match_template): Handle 5 operands. Updated for cpu_flags_match.
  949. Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
  950. (process_suffix): Handle YMMWORD_MNEM_SUFFIX.
  951. (check_byte_reg): Check regymm.
  952. (process_operands): Duplicate the destination register for
  953. -msse2avx if needed.
  954. (build_modrm_byte): Updated for instructions with VEX encoding.
  955. (output_insn): Output VEX prefix if needed.
  956. (md_longopts): Add msse2avx.
  957. (md_parse_option): Handle OPTION_MSSE2AVX.
  958. (md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
  959. (intel_e09): Support YMMWORD.
  960. (intel_e11): Likewise.
  961. (intel_get_token): Likewise.
  962. 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
  963. * config/tc-avr.c (mcu_types): Add attiny167.
  964. * doc/c-avr.texi: Likewise.
  965. 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
  966. * config/tc-avr.c (mcu_types): Add atmega32u4.
  967. * doc/c-avr.texi: Likewise.
  968. 2008-03-28 Eric B. Weddington <eric.weddington@atmel.com>
  969. * config/tc-avr.c (mcu_types): Add atmega32c1.
  970. * doc/c-avr.texi: Likewise.
  971. 2008-03-28 Paul Brook <paul@codesourcery.com>
  972. * config/tc-arm.c (parse_neon_mov): Parse register before immediate
  973. to avoid spurious symbols.
  974. 2008-03-28 Nathan Sidwell <nathan@codesourcery.com>
  975. * config/tc-m68k.c (md_convert_frag_1): Replace as_fatal with
  976. as_bad_where.
  977. 2008-03-27 Eric B. Weddington <eric.weddington@atmel.com>
  978. * config/tc-avr.c (mcu_types): Add atmega32m1.
  979. * doc/c-avr.texi: Likewise.
  980. 2008-03-27 Ineiev <ineiev@yahoo.co.uk>
  981. * config/tc-arm.c (do_neon_cvt): Move variable declarations to
  982. start of block.
  983. (do_neon_ext): Fix sign of comparison.
  984. 2008-03-26 Bernd Schmidt <bernd.schmidt@analog.com>
  985. From Jie Zhang <jie.zhang@analog.com>
  986. * config/bfin-parse.y (asm_1): Check AREGS in comparison
  987. instructions. And call yyerror when comparing PREG with
  988. DREG.
  989. (check_macfunc_option): New.
  990. (check_macfuncs): Check option by calling check_macfunc_option.
  991. Fix comparison always true warnings. Both scalar instructions
  992. of vector instruction must share the same mode option. Only allow
  993. option mode at the end of the second instruction of the vector.
  994. (asm_1): Check option by calling check_macfunc_option.
  995. * config/bfin-parse.y (check_macfunc_option): Allow (IU)
  996. option for multiply and multiply-accumulate to data register
  997. instruction.
  998. (check_macfuncs): Don't check if accumulator matches the data register
  999. here.
  1000. (assign_macfunc): Check if accumulator matches the
  1001. data register in each rule that moves to the data
  1002. register.
  1003. * config/tc-bfin.c (bfin_start_line_hook): Localize the labels
  1004. generated for LOOP_BEGIN and LOOP_END instructions.
  1005. (bfin_gen_loop): Likewise.
  1006. 2008-03-19 Andreas Krebbel <krebbel1@de.ibm.com>
  1007. * config/tc-s390.c (md_parse_option): z10 option added.
  1008. 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
  1009. * aclocal.m4: Regenerate.
  1010. * configure: Likewise.
  1011. * Makefile.in: Likewise.
  1012. * doc/Makefile.in: Likewise.
  1013. 2008-03-17 Adrian Bunk <bunk@stusta.de>
  1014. PR 5946
  1015. * config/tc-hppa.c (is_same_frag): Delete.
  1016. 2008-03-14 Sterling Augustine <sterling@tensilica.com>
  1017. * config/tc-xtensa.h (xtensa_relax_statesE): Update comment for
  1018. RELAX_LOOP_END_ADD_NOP.
  1019. 2008-03-13 Evandro Menezes <evandro@yahoo.com>
  1020. PR gas/5895
  1021. * read.c (s_mexit): Warn if attempting to exit a macro when not
  1022. inside a macro definition.
  1023. 2008-03-13 Alan Modra <amodra@bigpond.net.au>
  1024. * Makefile.am: Run "make dep-am".
  1025. * Makefile.in: Regenerate.
  1026. * configure: Regenerate.
  1027. 2008-03-09 Paul Brook <paul@codesourcery.com>
  1028. * config/tc-arm.c (arm_cpu_option_table): Add cortex-a9.
  1029. * doc/c-arm.texi: Add cortex-a9.
  1030. 2008-03-09 Paul Brook <paul@codesourcery.com>
  1031. * config/tc-arm.c (fpu_vfp_ext_d32): New vairable.
  1032. (parse_vfp_reg_list, encode_arm_vfp_reg): Use it.
  1033. (arm_option_cpu_value): Add vfpv3-d16, vfpv2 and vfpv3.
  1034. (aeabi_set_public_attributes): Handle Tag_VFP_arch=VFPV3-D16.
  1035. * doc/c-arm.texi: Document new ARM FPU variants.
  1036. 2008-03-07 Paul Brook <paul@codesourcery.com>
  1037. * config/tc-arm.c (md_apply_fix): Use correct offset range.
  1038. 2008-03-07 Alan Modra <amodra@bigpond.net.au>
  1039. * config/tc-ppc.c (ppc_setup_opcodes): Tidy. Add code to test
  1040. for strict ordering of powerpc_opcodes, but disable for now.
  1041. 2008-03-04 Paul Brook <paul@codesourcery.com>
  1042. * config/tc-arm.c (arm_ext_barrier, arm_ext_msr): New.
  1043. (arm_ext_v7m): Rename...
  1044. (arm_ext_m): ... to this. Include v6-M.
  1045. (do_t_add_sub): Allow narrow low-reg non flag setting adds.
  1046. (do_t_mrs, do_t_msr, aeabi_set_public_attributes): Use arm_ext_m.
  1047. (md_assemble): Allow wide msr instructions.
  1048. (insns): Add classifications for v6-m instructions.
  1049. (arm_cpu_option_table): Add cortex-m1.
  1050. (arm_arch_option_table): Add armv6-m.
  1051. (cpu_arch): Add ARM_ARCH_V6M. Fix numbering of other v6 variants.
  1052. 2008-03-03 Sterling Augustine <sterling@tensilica.com>
  1053. Bob Wilson <bob.wilson@acm.org>
  1054. * config/tc-xtensa.c (xtensa_num_pipe_stages): New.
  1055. (md_begin): Initialize it.
  1056. (resources_conflict): Use it.
  1057. 2008-03-03 Sterling Augustine <sterling@tensilica.com>
  1058. * config/tc-xtensa.h (RELAX_XTENSA_NONE): New.
  1059. 2008-03-03 Denys Vlasenko <vda.linux@googlemail.com>
  1060. H.J. Lu <hongjiu.lu@intel.com>
  1061. PR gas/5543
  1062. * read.c (pseudo_set): Don't allow global register symbol.
  1063. * symbols.c (S_SET_EXTERNAL): Don't allow register symbol
  1064. global.
  1065. 2008-03-03 H.J. Lu <hongjiu.lu@intel.com>
  1066. PR gas/5543
  1067. * write.c (write_object_file): Don't allow symbols which were
  1068. equated to register. Stop if there is an error.
  1069. 2008-03-01 Alan Modra <amodra@bigpond.net.au>
  1070. * config/tc-ppc.h (struct _ppc_fix_extra): New.
  1071. (ppc_cpu): Declare.
  1072. (TC_FIX_TYPE, TC_INIT_FIX_DATA): Define.
  1073. * config/tc-ppc.c (ppu_cpu): Make global.
  1074. (ppc_insert_operand): Add ppu_cpu parameter.
  1075. (md_assemble): Adjust for above change.
  1076. (md_apply_fix): Pass tc_fix_data.ppc_cpu to ppc_insert_operand.
  1077. 2008-02-22 Nick Clifton <nickc@redhat.com>
  1078. * config/tc-arm.c (do_bx): Only test EF_ARM_EABI_VERSION on ELF
  1079. targeted ARM ports, otherwise just skip generating the reloc.
  1080. 2008-02-18 H.J. Lu <hongjiu.lu@intel.com>
  1081. * doc/c-i386.texi: Update -march= and .arch.
  1082. 2008-02-18 Nick Clifton <nickc@redhat.com>
  1083. * config/tc-mn10300.c (has_known_symbol_location): New function.
  1084. Do not regard weak symbols as having a known location.
  1085. (md_estimate_size_before_relax): Use new function.
  1086. (md_pcrel_from): Do not compute a pcrel against a weak symbol.
  1087. 2008-02-18 Jan Beulich <jbeulich@novell.com>
  1088. * config/tc-i386.c (match_template): Disallow 'l' suffix when
  1089. currently selected CPU has no 32-bit support.
  1090. (parse_real_register): Do not return registers not available on
  1091. currently selected CPU.
  1092. 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
  1093. * config/tc-i386.c (process_immext): Fix format.
  1094. 2008-02-16 H.J. Lu <hongjiu.lu@intel.com>
  1095. * config/tc-i386.c (inoutportreg): New.
  1096. (process_immext): New.
  1097. (md_assemble): Use it.
  1098. (update_imm): Use imm16 and imm32s.
  1099. (i386_att_operand): Use inoutportreg.
  1100. 2008-02-14 H.J. Lu <hongjiu.lu@intel.com>
  1101. * config/tc-i386.c (operand_type_all_zero): New.
  1102. (operand_type_set): Likewise.
  1103. (operand_type_equal): Likewise.
  1104. (cpu_flags_all_zero): Likewise.
  1105. (cpu_flags_set): Likewise.
  1106. (cpu_flags_equal): Likewise.
  1107. (UINTS_ALL_ZERO): Removed.
  1108. (UINTS_SET): Likewise.
  1109. (UINTS_CLEAR): Likewise.
  1110. (UINTS_EQUAL): Likewise.
  1111. (cpu_flags_match): Updated.
  1112. (smallest_imm_type): Likewise.
  1113. (set_cpu_arch): Likewise.
  1114. (md_assemble): Likewise.
  1115. (optimize_imm): Likewise.
  1116. (match_template): Likewise.
  1117. (process_suffix): Likewise.
  1118. (update_imm): Likewise.
  1119. (process_drex): Likewise.
  1120. (process_operands): Likewise.
  1121. (build_modrm_byte): Likewise.
  1122. (i386_immediate): Likewise.
  1123. (i386_displacement): Likewise.
  1124. (i386_att_operand): Likewise.
  1125. (parse_real_register): Likewise.
  1126. (md_parse_option): Likewise.
  1127. (i386_target_format): Likewise.
  1128. 2008-02-14 Dimitry Andric <dimitry@andric.com>
  1129. PR gas/5712
  1130. * config/tc-arm.c (s_arm_unwind_save): Advance the input line
  1131. pointer past the comma after parsing a floating point register
  1132. name.
  1133. 2008-02-14 Hakan Ardo <hakan@debian.org>
  1134. PR gas/2626
  1135. * config/tc-avr.c (mcu_types): Change the ISA tyoe of the attiny26
  1136. to AVR_ISA_2xxe.
  1137. (avr_operand): Disallow post-increment addressing in the lpm
  1138. instruction for the attiny26.
  1139. 2008-02-13 Jan Beulich <jbeulich@novell.com>
  1140. * config/tc-i386.c (parse_real_register): Don't return 'FLAT'
  1141. if not in Intel mode.
  1142. (i386_intel_operand): Ignore segment overrides in immediate and
  1143. offset operands.
  1144. (intel_e11): Range-check i.mem_operands before use as array
  1145. index. Filter out FLAT for uses other than as segment override.
  1146. (intel_get_token): Remove broken promotion of "FLAT:" to mean
  1147. "offset FLAT:".
  1148. 2008-02-13 Jan Beulich <jbeulich@novell.com>
  1149. * config/tc-i386.c (intel_e09): Also special-case 'bound'.
  1150. 2008-02-13 Jan Beulich <jbeulich@novell.com>
  1151. * config/tc-i386.c (allow_pseudo_reg): New.
  1152. (parse_real_register): Check for NULL just once. Allow all
  1153. register table entries when allow_pseudo_reg is non-zero.
  1154. Don't allow any registers without type when allow_pseudo_reg
  1155. is zero.
  1156. (tc_x86_regname_to_dw2regnum): Replace with ...
  1157. (tc_x86_parse_to_dw2regnum): ... this.
  1158. (tc_x86_frame_initial_instructions): Adjust for above change.
  1159. * config/tc-i386.h (tc_regname_to_dw2regnum): Remove.
  1160. (tc_parse_to_dw2regnum): New.
  1161. (tc_x86_regname_to_dw2regnum): Replace with ...
  1162. (tc_x86_parse_to_dw2regnum): ... this.
  1163. * dw2gencfi.c (tc_parse_to_dw2regnum): New, broken out of ...
  1164. (cfi_parse_reg): ... this. Use tc_parse_to_dw2regnum. Adjust
  1165. error handling.
  1166. 2008-02-12 Nick Clifton <nickc@redhat.com>
  1167. * config/tc-tic4x.c (tic4x_insn_insert): Add const qualifier to
  1168. argument.
  1169. (tic4x_insn_add): Likewise.
  1170. (md_begin): Drop cast that was discarding a const qualifier.
  1171. * config/tc-d30v.c (get_reloc): Add const qualifier to op
  1172. argument.
  1173. (build_insn): Drop cast that was discarding a const qualifier.
  1174. 2008-02-11 H.J. Lu <hongjiu.lu@intel.com>
  1175. * config/tc-i386.c (cpu_arch): Add .xsave.
  1176. (md_show_usage): Add .xsave.
  1177. * doc/c-i386.texi: Add xsave to -march=.
  1178. 2008-02-07 Alan Modra <amodra@bigpond.net.au>
  1179. * read.c (s_weakref): Don't pass unadorned NULL to concat.
  1180. * config/tc-i386.c (set_cpu_arch, md_parse_option): Likewise.
  1181. 2008-02-05 Sterling Augustine <sterling@tensilica.com>
  1182. * config/tc-xtensa.c (relax_frag_immed): Change internal consistency
  1183. checks into assertions. When relaxation produces an operation that
  1184. does not fit in the current FLIX instruction, make sure that the
  1185. operation is relaxed as needed to account for being placed following
  1186. the current instruction.
  1187. 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
  1188. PR 5715
  1189. * configure: Regenerated.
  1190. 2008-02-04 Adam Nemet <anemet@caviumnetworks.com>
  1191. * config/tc-mips.c (mips_cpu_info_table): Add Octeon.
  1192. 2008-01-31 Marc Gauthier <marc@tensilica.com>
  1193. * configure.tgt (xtensa*-*-*): Recognize processor variants.
  1194. 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
  1195. * read.c: (emit_expr): Correct for mingw use of printf size
  1196. specifier.
  1197. 2008-01-24 Bob Wilson <bob.wilson@acm.org>
  1198. * doc/c-xtensa.texi (Xtensa Syntax): Clarify handling of opcodes that
  1199. can only be encoded in FLIX instructions but are not specified as such.
  1200. (Xtensa Automatic Alignment): Remove obsolete comment about debugging
  1201. labels.
  1202. 2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
  1203. * NEWS: Mention new command line options for x86 targets.
  1204. 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
  1205. * config/tc-i386.c (md_show_usage): Replace tabs with spaces.
  1206. 2008-01-23 Eric B. Weddington <eric.weddington@atmel.com>
  1207. * config/tc-avr.c (mcu_types): Change opcode set for at86rf401.
  1208. 2008-01-23 H.J. Lu <hongjiu.lu@intel.com>
  1209. * config/tc-i386.c (md_show_usage): Show more processors for
  1210. -march=/-mtune=.
  1211. 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
  1212. * config/tc-i386.c (i386_target_format): Remove cpummx2.
  1213. 2008-01-22 H.J. Lu <hongjiu.lu@intel.com>
  1214. * config/tc-i386.c (XXX_PREFIX): Moved from tc-i386.h.
  1215. (XXX_MNEM_SUFFIX): Likewise.
  1216. (END_OF_INSN): Likewise.
  1217. (templates): Likewise.
  1218. (modrm_byte): Likewise.
  1219. (rex_byte): Likewise.
  1220. (DREX_XXX): Likewise.
  1221. (drex_byte): Likewise.
  1222. (sib_byte): Likewise.
  1223. (processor_type): Likewise.
  1224. (arch_entry): Likewise.
  1225. (cpu_sub_arch_name): Remove const.
  1226. (cpu_arch): Add .vmx and .smx.
  1227. (set_cpu_arch): Append cpu_sub_arch_name.
  1228. (md_parse_option): Support -march=CPU[,+EXTENSION...].
  1229. (md_show_usage): Updated.
  1230. * config/tc-i386.h (XXX_PREFIX): Moved to tc-i386.c.
  1231. (XXX_MNEM_SUFFIX): Likewise.
  1232. (END_OF_INSN): Likewise.
  1233. (templates): Likewise.
  1234. (modrm_byte): Likewise.
  1235. (rex_byte): Likewise.
  1236. (DREX_XXX): Likewise.
  1237. (drex_byte): Likewise.
  1238. (sib_byte): Likewise.
  1239. (processor_type): Likewise.
  1240. (arch_entry): Likewise.
  1241. * doc/as.texinfo: Update i386 -march option.
  1242. * doc/c-i386.texi: Update -march= for ISA.
  1243. 2008-01-18 Bob Wilson <bob.wilson@acm.org>
  1244. * config/tc-xtensa.c (xtensa_leb128): New function.
  1245. (md_pseudo_table): Use it for sleb128 and uleb128.
  1246. (is_leb128_expr): New internal flag.
  1247. (xtensa_symbol_new_hook): Check new flag.
  1248. 2008-01-16 Eric B. Weddington <eric.weddington@atmel.com>
  1249. * config/tc-avr.c (mcu_types): Change opcode set for avr3,
  1250. at90usb82, at90usb162.
  1251. * doc/c-avr.texi: Change architecture grouping for at90usb82,
  1252. at90usb162.
  1253. These changes support the new avr35 architecture group in gcc.
  1254. 2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
  1255. * config/tc-i386.c (md_assemble): Also zap movzx and movsx
  1256. suffix for AT&T syntax.
  1257. 2008-01-14 H.J. Lu <hongjiu.lu@intel.com>
  1258. * config/tc-i386.c (match_reg_size): New.
  1259. (match_mem_size): Likewise.
  1260. (operand_size_match): Likewise.
  1261. (operand_type_match): Also clear all size fields.
  1262. (match_template): Skip Intel syntax when in AT&T syntax.
  1263. Call operand_size_match to check operand size.
  1264. (i386_att_operand): Set the mem field to 1 for memory
  1265. operand.
  1266. (i386_intel_operand): Likewise.
  1267. 2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
  1268. PR gas/5534
  1269. * config/tc-i386.c (_i386_insn): Update comment.
  1270. (operand_type_match): Also clear unspecified.
  1271. (operand_type_register_match): Likewise.
  1272. (parse_operands): Initialize unspecified.
  1273. (i386_intel_operand): Likewise.
  1274. (match_template): Check memory and accumulator operand size.
  1275. (i386_att_operand): Clear unspecified on register operand.
  1276. (intel_e11): Likewise.
  1277. (intel_e09): Set operand size and clean unspecified for
  1278. "XXX PTR".
  1279. 2008-01-11 Andreas Schwab <schwab@suse.de>
  1280. * read.c (s_space): Declare `repeat' as offsetT.
  1281. 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
  1282. * config/tc-i386.c (match_template): Check processor support
  1283. first.
  1284. 2008-01-10 H.J. Lu <hongjiu.lu@intel.com>
  1285. * config/tc-i386.c (match_template): Continue if processor
  1286. doesn't match.
  1287. 2008-01-09 Alexandre Oliva <aoliva@redhat.com>
  1288. * config/tc-ia64.c (ia64_convert_frag): Zero-initialize room for
  1289. unwind personality function address.
  1290. 2008-01-09 Bob Wilson <bob.wilson@acm.org>
  1291. * dwarf2dbg.c (out_sleb128): Delete.
  1292. (size_fixed_inc_line_addr, emit_fixed_inc_line_addr): New.
  1293. (out_fixed_inc_line_addr): Delete.
  1294. (relax_inc_line_addr, dwarf2dbg_estimate_size_before_relax): Call new
  1295. size_fixed_inc_line_addr if DWARF2_USE_FIXED_ADVANCE_PC is set.
  1296. (dwarf2dbg_convert_frag): Likewise for emit_fixed_inc_line_addr.
  1297. (process_entries): Remove calls to out_fixed_inc_line_addr. When
  1298. DWARF2_USE_FIXED_ADVANCE_PC is set, call relax_inc_line_addr.
  1299. * read.h (emit_expr_fix): New prototype.
  1300. * read.c (emit_expr): Move code to emit_expr_fix and use it here.
  1301. (emit_expr_fix): New.
  1302. 2008-01-09 H.J. Lu <hongjiu.lu@intel.com>
  1303. * config/tc-i386.c (match_template): Check register size
  1304. only when size of operands can be encoded the canonical way.
  1305. 2008-01-08 H.J. Lu <hongjiu.lu@intel.com>
  1306. * config/tc-i386.c (i386_operand): Renamed to ...
  1307. (i386_att_operand): This.
  1308. (parse_operands): Updated.
  1309. 2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
  1310. * doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
  1311. * config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
  1312. only.
  1313. (md_assemble): Remove Intel mode workaround.
  1314. (match_template): Check support for old gcc, AT&T mnemonic
  1315. and Intel Syntax.
  1316. (md_parse_option): Don't set intel_mnemonic to 0 for
  1317. OPTION_MOLD_GCC.
  1318. 2008-01-04 H.J. Lu <hongjiu.lu@intel.com>
  1319. * config/tc-i386.h: Update copyright to 2008.
  1320. 2008-01-04 Nick Clifton <nickc@redhat.com>
  1321. * config/tc-ppc.c (parse_cpu): Preserve the settings of the
  1322. PPC_OPCODE_ALTIVEC and PPC_OPCODE_SPE flags.
  1323. 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
  1324. * config/tc-i386.c (md_assemble): Use !intel_mnemonic instead
  1325. of SYSV386_COMPAT.
  1326. 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
  1327. * gas/config/tc-i386.c (cpu_arch_flags_not): Removed.
  1328. (cpu_flags_not): Likewise.
  1329. (cpu_flags_match): Updated to check 64bit and arch.
  1330. (set_code_flag): Remove cpu_arch_flags_not.
  1331. (set_16bit_gcc_code_flag): Likewise.
  1332. (set_cpu_arch): Likewise.
  1333. (md_begin): Likewise.
  1334. (parse_insn): Call cpu_flags_match to check 64bit and arch.
  1335. (match_template): Likewise.
  1336. 2008-01-03 Jakub Jelinek <jakub@redhat.com>
  1337. * config/tc-i386.c (process_drex): Initialize modrm_reg and
  1338. modrm_regmem to 0 instead of None.
  1339. 2008-01-03 H.J. Lu <hongjiu.lu@intel.com>
  1340. * config/tc-i386.c (match_template): Use the xmmword field
  1341. instead of no_xsuf.
  1342. 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
  1343. * config/tc-i386.c (process_suffix): Fix a typo.
  1344. 2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
  1345. PR gas/5534
  1346. * config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
  1347. Check memory size in Intel mode.
  1348. (process_suffix): Handle XMMWORD_MNEM_SUFFIX.
  1349. (intel_e09): Likewise.
  1350. * config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
  1351. 2008-01-02 Catherine Moore <clm@codesourcery.com>
  1352. * config/tc-mips.c (mips_ip): Check operands on jalr instruction.
  1353. For older changes see ChangeLog-2007
  1354. Copyright (C) 2008 Free Software Foundation, Inc.
  1355. Copying and distribution of this file, with or without modification,
  1356. are permitted in any medium without royalty provided the copyright
  1357. notice and this notice are preserved.
  1358. Local Variables:
  1359. mode: change-log
  1360. left-margin: 8
  1361. fill-column: 74
  1362. version-control: never
  1363. End: