Skip to content
Snippets Groups Projects
  • Alan Modra's avatar
    2dc2dfa7
    gas: allow frag address wrapping in absolute section · 2dc2dfa7
    Alan Modra authored
    This:
    	 .struct -1
    	x:
    	 .fill 1
    	y:
    results in an internal error in frag_new due to abs_section_offset
    wrapping from -1 to 0.  Frags in the absolute section don't do much so
    I think we can allow the address wrap.
    
    	* frags.c (frag_new): Allow address wrap in absolute section.
    2dc2dfa7
    History
    gas: allow frag address wrapping in absolute section
    Alan Modra authored
    This:
    	 .struct -1
    	x:
    	 .fill 1
    	y:
    results in an internal error in frag_new due to abs_section_offset
    wrapping from -1 to 0.  Frags in the absolute section don't do much so
    I think we can allow the address wrap.
    
    	* frags.c (frag_new): Allow address wrap in absolute section.